summaryrefslogtreecommitdiffhomepage
path: root/auto/os/freebsd (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-12-27Simplified sendfile(SF_NODISKIO) usage.Maxim Dounin1-5/+3
Starting with FreeBSD 11, there is no need to use AIO operations to preload data into cache for sendfile(SF_NODISKIO) to work. Instead, sendfile() handles non-blocking loading data from disk by itself. It still can, however, return EBUSY if a page is already being loaded (for example, by a different process). If this happens, we now post an event for the next event loop iteration, so sendfile() is retried "after a short period", as manpage recommends. The limit of the number of EBUSY tolerated without any progress is preserved, but now it does not result in an alert, since on an idle system event loop iteration might be very short and EBUSY can happen many times in a row. Instead, SF_NODISKIO is simply disabled for one call once the limit is reached. With this change, sendfile(SF_NODISKIO) is now used automatically as long as sendfile() is enabled, and no longer requires "aio on;".
2015-04-22Removed the obsolete aio module.Ruslan Ermilov1-20/+0
2015-03-13Configure: removed obsolete threads bits.Ruslan Ermilov1-19/+0
2015-02-11Configure: typo fixed.Sergey Kandaurov1-1/+1
2015-02-11Unbreak building on FreeBSD without file AIO.Valentin Bartenev1-3/+5
It appeared that the NGX_HAVE_AIO_SENDFILE macro was defined regardless of the "--with-file-aio" configure option and the NGX_HAVE_FILE_AIO macro. Now they are related. Additionally, fixed one macro.
2012-03-21worker_cpu_affinity: cleaned up Linux implementation, added FreeBSD support.Ruslan Ermilov1-0/+8
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-05-10use POSIX semaphores in shmtx instead of sched_yield()Igor Sysoev1-0/+9
number of spinlock spins are increased twice
2009-08-30aio sendfileIgor Sysoev1-0/+6
2006-09-06fix typoIgor Sysoev1-1/+1
2005-10-19nginx-0.3.3-RELEASE importrelease-0.3.3Igor Sysoev1-3/+12
*) Change: the "bl" and "af" parameters of the "listen" directive was renamed to the "backlog" and "accept_filter". *) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen" directive. *) Change: the "$msec" log parameter does not require now the additional the gettimeofday() system call. *) Feature: the -t switch now tests the "listen" directives. *) Bugfix: if the invalid address was specified in the "listen" directive, then after the -HUP signal nginx left an open socket in the CLOSED state. *) Bugfix: the mime type may be incorrectly set to default value for index file with variable in the name; the bug had appeared in 0.3.0. *) Feature: the "timer_resolution" directive. *) Feature: the millisecond "$upstream_response_time" log parameter. *) Bugfix: a temporary file with client request body now is removed just after the response header was transferred to a client. *) Bugfix: OpenSSL 0.9.6 compatibility. *) Bugfix: the SSL certificate and key file paths could not be relative. *) Bugfix: the "ssl_prefer_server_ciphers" directive did not work in the ngx_imap_ssl_module. *) Bugfix: the "ssl_protocols" directive allowed to specify the single protocol only.
2005-05-19nginx-0.1.32-RELEASE importrelease-0.1.32Igor Sysoev1-1/+0
*) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; the bug had appeared in 0.1.29. *) Feature: the "if" directive supports the captures in regular expressions. *) Feature: the "set" directive supports the variables and the captures of regular expressions. *) Feature: the "X-Accel-Redirect" response header line is supported in proxy and FastCGI mode.
2005-05-12nginx-0.1.29-RELEASE importrelease-0.1.29Igor Sysoev1-8/+2
*) Feature: the ngx_http_ssi_module supports "include virtual" command. *) Feature: the ngx_http_ssi_module supports the condition command like 'if expr="$NAME"' and "else" and "endif" commands. Only one nested level is supported. *) Feature: the ngx_http_ssi_module supports the DATE_LOCAL and DATE_GMT variables and "config timefmt" command. *) Feature: the "ssi_ignore_recycled_buffers" directive. *) Bugfix: the "echo" command did not show the default value for the empty QUERY_STRING variable. *) Change: the ngx_http_proxy_module was rewritten. *) Feature: the "proxy_redirect", "proxy_pass_request_headers", "proxy_pass_request_body", and "proxy_method" directives. *) Feature: the "proxy_set_header" directive. The "proxy_x_var" was canceled and must be replaced with the proxy_set_header directive. *) Change: the "proxy_preserve_host" is canceled and must be replaced with the "proxy_set_header Host $host" and the "proxy_redirect off" directives, the "proxy_set_header Host $host:$proxy_port" directive and the appropriate proxy_redirect directives. *) Change: the "proxy_set_x_real_ip" is canceled and must be replaced with the "proxy_set_header X-Real-IP $remote_addr" directive. *) Change: the "proxy_add_x_forwarded_for" is canceled and must be replaced with the "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for" directive. *) Change: the "proxy_set_x_url" is canceled and must be replaced with the "proxy_set_header X-URL http://$host:$server_port$request_uri" directive. *) Feature: the "fastcgi_param" directive. *) Change: the "fastcgi_root", "fastcgi_set_var" and "fastcgi_params" directive are canceled and must be replaced with the fastcgi_param directives. *) Feature: the "index" directive can use the variables. *) Feature: the "index" directive can be used at http and server levels. *) Change: the last index only in the "index" directive can be absolute. *) Feature: the "rewrite" directive can use the variables. *) Feature: the "internal" directive. *) Feature: the CONTENT_LENGTH, CONTENT_TYPE, REMOTE_PORT, SERVER_ADDR, SERVER_PORT, SERVER_PROTOCOL, DOCUMENT_ROOT, SERVER_NAME, REQUEST_METHOD, REQUEST_URI, and REMOTE_USER variables. *) Change: nginx now passes the invalid lines in a client request headers or a backend response header. *) Bugfix: if the backend did not transfer response for a long time and the "send_timeout" was less than "proxy_read_timeout", then nginx returned the 408 response. *) Bugfix: the segmentation fault was occurred if the backend sent an invalid line in response header; the bug had appeared in 0.1.26. *) Bugfix: the segmentation fault may occurred in FastCGI fault tolerance configuration. *) Bugfix: the "expires" directive did not remove the previous "Expires" and "Cache-Control" headers. *) Bugfix: nginx did not take into account trailing dot in "Host" header line. *) Bugfix: the ngx_http_auth_module did not work under Linux. *) Bugfix: the rewrite directive worked incorrectly, if the arguments were in a request. *) Bugfix: nginx could not be built on MacOS X.
2005-03-22nginx-0.1.26-RELEASE importrelease-0.1.26Igor Sysoev1-0/+1
*) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
2005-02-16nginx-0.1.19-RELEASE importrelease-0.1.19Igor Sysoev1-0/+1
*) Bugfix: now, if request contains the zero, then the 404 error is returned for the local requests. *) Bugfix: nginx could not be built on NetBSD 2.0. *) Bugfix: the timeout may occur while reading of the the client request body via SSL connections.
2004-11-25nginx-0.1.9-RELEASE importrelease-0.1.9Igor Sysoev1-6/+6
*) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
2004-11-20nginx-0.1.8-RELEASE importrelease-0.1.8Igor Sysoev1-5/+16
*) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive.
2004-10-21nginx-0.1.2-RELEASE importrelease-0.1.2Igor Sysoev1-6/+22
*) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; the bug had appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; the bug had appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
2004-09-29nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev1-12/+15
2004-07-05nginx-0.0.7-2004-07-05-10:55:54 importIgor Sysoev1-1/+19
2004-06-15nginx-0.0.7-2004-06-15-21:47:16 importIgor Sysoev1-3/+0
2004-06-15nginx-0.0.7-2004-06-15-11:55:11 importIgor Sysoev1-0/+3
2004-03-30nginx-0.0.3-2004-03-30-10:27:36 importIgor Sysoev1-2/+5
2004-03-16nginx-0.0.3-2004-03-16-16:35:20 importIgor Sysoev1-1/+1
2004-03-11nginx-0.0.2-2004-03-11-18:42:41 importIgor Sysoev1-1/+1
2004-03-10nginx-0.0.2-2004-03-10-20:55:19 importIgor Sysoev1-0/+2
2004-02-29nginx-0.0.2-2004-03-01-00:03:02 importIgor Sysoev1-3/+3
2004-02-24nginx-0.0.2-2004-02-24-20:31:46 importIgor Sysoev1-0/+16
2004-02-17nginx-0.0.2-2004-02-18-00:11:27 importIgor Sysoev1-2/+2
2004-02-17nginx-0.0.2-2004-02-17-20:53:12 importIgor Sysoev1-0/+3
2004-02-09nginx-0.0.2-2004-02-09-10:46:43 importIgor Sysoev1-3/+0
2004-02-02nginx-0.0.2-2004-02-03-00:19:52 importIgor Sysoev1-13/+11
2004-01-23nginx-0.0.1-2004-01-23-12:26:18 importIgor Sysoev1-2/+11
2003-12-22nginx-0.0.1-2003-12-22-20:27:24 importIgor Sysoev1-1/+1
2003-11-25nginx-0.0.1-2003-11-25-23:44:56 importIgor Sysoev1-0/+40