diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-08-23 19:36:54 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-08-23 19:36:54 +0400 |
commit | b85fd593e08b8f27a18fb7e2feda02f01d9db15d (patch) | |
tree | 42cb06ce67a69d1eba948ecc9733b6465e4bbf6f /src/event | |
parent | 25e571ff74c1d649d0bee724250a66852f3b062c (diff) |
nginx-0.1.42-RELEASE importrelease-0.1.42
*) Bugfix: if the request URI had a zero length after the processing in
the ngx_http_proxy_module, then the segmentation fault or bus error
occurred in the ngx_http_proxy_module.
*) Bugfix: the "limit_rate" directive did not work inside the "if"
block; the bug had appeared in 0.1.38.
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/ngx_event_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/ngx_event_timer.c b/src/event/ngx_event_timer.c index 53bbc5f09..4d6c647da 100644 --- a/src/event/ngx_event_timer.c +++ b/src/event/ngx_event_timer.c @@ -67,7 +67,7 @@ ngx_event_find_timer(void) (node->key * NGX_TIMER_RESOLUTION - ngx_elapsed_msec); #endif - return timer > 0 ? timer: 0 ; + return timer > 0 ? timer : 0 ; } |