Mercurial > hg > nginx-vendor-1-0
comparison src/event/ngx_event_accept.c @ 184:71ff1e2b484a NGINX_0_3_39
nginx 0.3.39
*) Feature: the "uninitialized_variable_warn" directive; the logging
level of the "uninitialized variable" message was lowered from
"alert" to "warn".
*) Feature: the "override_charset" directive.
*) Change: now if the unknown variable is used in the "echo" and "if
expr='$name'" SSI-commands, then the "unknown variable" message is
not logged.
*) Bugfix: the active connection counter increased on the exceeding of
the connection limit specified by the "worker_connections"
directive; bug appeared in 0.2.0.
*) Bugfix: the limit rate might not work on some condition; bug
appeared in 0.3.38.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 17 Apr 2006 00:00:00 +0400 |
parents | fef68f68bcfd |
children | 3689cd4e3228 |
comparison
equal
deleted
inserted
replaced
183:f4b38f37ca5b | 184:71ff1e2b484a |
---|---|
76 return; | 76 return; |
77 } | 77 } |
78 | 78 |
79 #if (NGX_STAT_STUB) | 79 #if (NGX_STAT_STUB) |
80 ngx_atomic_fetch_add(ngx_stat_accepted, 1); | 80 ngx_atomic_fetch_add(ngx_stat_accepted, 1); |
81 ngx_atomic_fetch_add(ngx_stat_active, 1); | |
82 #endif | 81 #endif |
83 | 82 |
84 ngx_accept_disabled = NGX_ACCEPT_THRESHOLD | 83 ngx_accept_disabled = NGX_ACCEPT_THRESHOLD |
85 - ngx_cycle->free_connection_n; | 84 - ngx_cycle->free_connection_n; |
86 | 85 |
92 ngx_close_socket_n " failed"); | 91 ngx_close_socket_n " failed"); |
93 } | 92 } |
94 | 93 |
95 return; | 94 return; |
96 } | 95 } |
96 | |
97 #if (NGX_STAT_STUB) | |
98 ngx_atomic_fetch_add(ngx_stat_active, 1); | |
99 #endif | |
97 | 100 |
98 c->pool = ngx_create_pool(ls->pool_size, ev->log); | 101 c->pool = ngx_create_pool(ls->pool_size, ev->log); |
99 if (c->pool == NULL) { | 102 if (c->pool == NULL) { |
100 ngx_close_accepted_connection(c); | 103 ngx_close_accepted_connection(c); |
101 return; | 104 return; |