Mercurial > hg > nginx-vendor-current
comparison src/event/ngx_event_timer.h @ 362:54fad6c4b555 NGINX_0_6_25
nginx 0.6.25
*) Change: now the "server_name_in_redirect" directive is used instead
of the "server_name" directive's special "*" parameter.
*) Change: now wildcard and regex names can be used as main name in a
"server_name" directive.
*) Change: the "satisfy_any" directive was replaced by the "satisfy"
directive.
*) Workaround: old worker processes might hog CPU after reconfiguration
if they was run under Linux OpenVZ.
*) Feature: the "min_delete_depth" directive.
*) Bugfix: the COPY and MOVE methods did not work with single files.
*) Bugfix: the ngx_http_gzip_static_module did not allow the
ngx_http_dav_module to work; bug appeared in 0.6.23.
*) Bugfix: socket leak in HTTPS mode if deferred accept was used.
Thanks to Ben Maurer.
*) Bugfix: nginx could not be built without PCRE library; bug appeared
in 0.6.23.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 08 Jan 2008 00:00:00 +0300 |
parents | 408f195b3482 |
children | d0f7a625f27c |
comparison
equal
deleted
inserted
replaced
361:160660bad929 | 362:54fad6c4b555 |
---|---|
63 key = ngx_current_msec + timer; | 63 key = ngx_current_msec + timer; |
64 | 64 |
65 if (ev->timer_set) { | 65 if (ev->timer_set) { |
66 | 66 |
67 /* | 67 /* |
68 * Use the previous timer value if a difference between them is less | 68 * Use a previous timer value if difference between it and a new |
69 * then NGX_TIMER_LAZY_DELAY milliseconds. It allows to minimize | 69 * value is less than NGX_TIMER_LAZY_DELAY milliseconds: this allows |
70 * the rbtree operations for the fast connections. | 70 * to minimize the rbtree operations for fast connections. |
71 */ | 71 */ |
72 | 72 |
73 diff = (ngx_msec_int_t) (key - ev->timer.key); | 73 diff = (ngx_msec_int_t) (key - ev->timer.key); |
74 | 74 |
75 if (ngx_abs(diff) < NGX_TIMER_LAZY_DELAY) { | 75 if (ngx_abs(diff) < NGX_TIMER_LAZY_DELAY) { |