comparison src/os/unix/ngx_process_cycle.c @ 84:991c6e4c7654 NGINX_0_1_42

nginx 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; bug appeared in 0.1.38.
author Igor Sysoev <http://sysoev.ru>
date Tue, 23 Aug 2005 00:00:00 +0400
parents 6ae11d59d10e
children 45945fa8b8ba
comparison
equal deleted inserted replaced
83:8216480b2a2e 84:991c6e4c7654
914 #if 0 914 #if 0
915 ngx_last_process = 0; 915 ngx_last_process = 0;
916 #endif 916 #endif
917 917
918 if (ngx_add_channel_event(cycle, ngx_channel, NGX_READ_EVENT, 918 if (ngx_add_channel_event(cycle, ngx_channel, NGX_READ_EVENT,
919 ngx_channel_handler) == NGX_ERROR) 919 ngx_channel_handler) == NGX_ERROR)
920 { 920 {
921 /* fatal */ 921 /* fatal */
922 exit(2); 922 exit(2);
923 } 923 }
924 } 924 }