comparison src/event/ngx_event_accept.c @ 412:b246022ef454 NGINX_0_7_18

nginx 0.7.18 *) Change: the "underscores_in_headers" directive; now nginx does not allows underscores in a client request header line names. *) Feature: the ngx_http_secure_link_module. *) Feature: the "real_ip_header" directive supports any header. *) Feature: the "log_subrequest" directive. *) Feature: the $realpath_root variable. *) Feature: the "http_502" and "http_504" parameters of the "proxy_next_upstream" directive. *) Bugfix: the "http_503" parameter of the "proxy_next_upstream" or "fastcgi_next_upstream" directives did not work. *) Bugfix: nginx might send a "Transfer-Encoding: chunked" heaer line for HEAD requests. *) Bugfix: now accept threshold depends on worker_connections.
author Igor Sysoev <http://sysoev.ru>
date Mon, 13 Oct 2008 00:00:00 +0400
parents 6ebbca3d5ed7
children 76a79816b771
comparison
equal deleted inserted replaced
411:b453a4324c60 412:b246022ef454
80 80
81 #if (NGX_STAT_STUB) 81 #if (NGX_STAT_STUB)
82 ngx_atomic_fetch_add(ngx_stat_accepted, 1); 82 ngx_atomic_fetch_add(ngx_stat_accepted, 1);
83 #endif 83 #endif
84 84
85 ngx_accept_disabled = NGX_ACCEPT_THRESHOLD 85 ngx_accept_disabled = ngx_cycle->connection_n / 8
86 - ngx_cycle->free_connection_n; 86 - ngx_cycle->free_connection_n;
87 87
88 c = ngx_get_connection(s, ev->log); 88 c = ngx_get_connection(s, ev->log);
89 89
90 if (c == NULL) { 90 if (c == NULL) {