diff src/event/ngx_event_busy_lock.c @ 154:bb61aa162c6b NGINX_0_3_24

nginx 0.3.24 *) 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; bug appeared in 0.3.18.
author Igor Sysoev <http://sysoev.ru>
date Wed, 01 Feb 2006 00:00:00 +0300
parents 408f195b3482
children f7cd062ee035
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) {