Mercurial > hg > nginx
diff src/event/ngx_event_busy_lock.c @ 605:5dac8c7fb71b release-0.3.24
nginx-0.3.24-RELEASE import
*) Workaround: for bug in FreeBSD kqueue.
*) Bugfix: now a response generated by the "post_action" directive is
not transferred to a client.
*) Bugfix: the memory leaks were occurring if many log files were used.
*) Bugfix: the first "proxy_redirect" directive was working inside one
location.
*) Bugfix: on 64-bit platforms segmentation fault may occurred on start
if the many names were used in the "server_name" directives; the bug
had appeared in 0.3.18.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 01 Feb 2006 18:22:15 +0000 |
parents | 9c2f3ed7a247 |
children | f69d1aab6a0f |
line wrap: on
line diff
--- a/src/event/ngx_event_busy_lock.c +++ b/src/event/ngx_event_busy_lock.c @@ -20,7 +20,6 @@ static void ngx_event_busy_lock_posted_h * NGX_AGAIN: the all busy locks are held but we will wait the specified time * NGX_BUSY: ctx->timer == 0: there are many the busy locks * ctx->timer != 0: there are many the waiting locks - * NGX_ERROR: an error occured while the mutex locking */ ngx_int_t @@ -36,6 +35,7 @@ ngx_event_busy_lock(ngx_event_busy_lock_ if (bl->busy < bl->max_busy) { bl->busy++; + rc = NGX_OK; } else if (ctx->timer && bl->waiting < bl->max_waiting) {