Mercurial > hg > nginx
comparison src/event/ngx_event_accept.c @ 615:5ef026a2ac74 release-0.3.29
nginx-0.3.29-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Mon, 20 Feb 2006 16:48:17 +0000 |
parents | 3f8a2132b93d |
children | 51b27717f140 |
comparison
equal
deleted
inserted
replaced
614:790c134e002d | 615:5ef026a2ac74 |
---|---|
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); |