comparison src/event/ngx_event_accept.c @ 164:b922c231a392 NGINX_0_3_29

nginx 0.3.29 *) Feature: now nginx uses less memory, if PHP in FastCGI mode sends many warnings before the response. *) Bugfix: the "Transfer-Encoding: chunked" header line was issued in the 204 responses for the HTTP/1.1 requests. *) Bugfix: nginx returned the 502 response, if the complete response header lines were transferred in a separate FastCGI records. *) Bugfix: if the proxied URI was specified in the "post_action" directive, then it ran only after a successful completion of a request.
author Igor Sysoev <http://sysoev.ru>
date Mon, 20 Feb 2006 00:00:00 +0300
parents 73e8476f9142
children fef68f68bcfd
comparison
equal deleted inserted replaced
163:cf311b6cf6df 164:b922c231a392
262 if (ngx_shmtx_trylock(&ngx_accept_mutex)) { 262 if (ngx_shmtx_trylock(&ngx_accept_mutex)) {
263 263
264 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 264 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
265 "accept mutex locked"); 265 "accept mutex locked");
266 266
267 if (ngx_accept_mutex_held && !(ngx_event_flags & NGX_USE_RTSIG_EVENT)) 267 if (ngx_accept_mutex_held && !(ngx_event_flags & NGX_USE_RTSIG_EVENT)) {
268 {
269 return NGX_OK; 268 return NGX_OK;
270 } 269 }
271 270
272 if (ngx_enable_accept_events(cycle) == NGX_ERROR) { 271 if (ngx_enable_accept_events(cycle) == NGX_ERROR) {
273 ngx_shmtx_unlock(&ngx_accept_mutex); 272 ngx_shmtx_unlock(&ngx_accept_mutex);