comparison src/event/ngx_event_timer.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 5db440287648
children 45f7329b4bd0
comparison
equal deleted inserted replaced
83:8216480b2a2e 84:991c6e4c7654
65 ngx_elapsed_msec / NGX_TIMER_RESOLUTION * NGX_TIMER_RESOLUTION); 65 ngx_elapsed_msec / NGX_TIMER_RESOLUTION * NGX_TIMER_RESOLUTION);
66 #if 0 66 #if 0
67 (node->key * NGX_TIMER_RESOLUTION - ngx_elapsed_msec); 67 (node->key * NGX_TIMER_RESOLUTION - ngx_elapsed_msec);
68 #endif 68 #endif
69 69
70 return timer > 0 ? timer: 0 ; 70 return timer > 0 ? timer : 0 ;
71 } 71 }
72 72
73 73
74 void 74 void
75 ngx_event_expire_timers(ngx_msec_t timer) 75 ngx_event_expire_timers(ngx_msec_t timer)