From b85fd593e08b8f27a18fb7e2feda02f01d9db15d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 23 Aug 2005 15:36:54 +0000 Subject: nginx-0.1.42-RELEASE import *) 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. --- src/os/unix/ngx_process_cycle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/unix/ngx_process_cycle.c') diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c index 9d0569411..0c8fdd27c 100644 --- a/src/os/unix/ngx_process_cycle.c +++ b/src/os/unix/ngx_process_cycle.c @@ -916,7 +916,7 @@ ngx_worker_process_init(ngx_cycle_t *cycle, ngx_uint_t priority) #endif if (ngx_add_channel_event(cycle, ngx_channel, NGX_READ_EVENT, - ngx_channel_handler) == NGX_ERROR) + ngx_channel_handler) == NGX_ERROR) { /* fatal */ exit(2); -- cgit v1.2.3