Mercurial > hg > nginx
comparison src/event/ngx_event_timer.c @ 535:563ad09abf50 release-0.1.42
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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 23 Aug 2005 15:36:54 +0000 |
parents | 417a087c9c4d |
children | ecd9c160f25b |
comparison
equal
deleted
inserted
replaced
534:68651071a155 | 535:563ad09abf50 |
---|---|
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) |