comparison src/event/ngx_event_timer.c @ 274:052a7b1d40e5 NGINX_0_5_7

nginx 0.5.7 *) Feature: the ssl_session_cache storage optimization. *) Bugfixes in the "ssl_session_cache" and "limit_zone" directives. *) Bugfix: the segmentation fault was occurred on start or while reconfiguration if the "ssl_session_cache" or "limit_zone" directives were used on 64-bit platforms. *) Bugfix: a segmentation fault occurred if the "add_before_body" or "add_after_body" directives were used and there was no "Content-Type" header line in response. *) Bugfix: the OpenSSL library was always built with the threads support. Thanks to Den Ivanov. *) Bugfix: the PCRE-6.5+ library and the icc compiler compatibility.
author Igor Sysoev <http://sysoev.ru>
date Mon, 15 Jan 2007 00:00:00 +0300
parents 6ae1357b7b7c
children b743d290eb3b
comparison
equal deleted inserted replaced
273:60df8db42ffb 274:052a7b1d40e5
15 15
16 16
17 ngx_thread_volatile ngx_rbtree_t ngx_event_timer_rbtree; 17 ngx_thread_volatile ngx_rbtree_t ngx_event_timer_rbtree;
18 static ngx_rbtree_node_t ngx_event_timer_sentinel; 18 static ngx_rbtree_node_t ngx_event_timer_sentinel;
19 19
20 /*
21 * the event timer rbtree may contain the duplicate keys, however,
22 * it should not be a problem, because we use the rbtree to find
23 * a minimum timer value only
24 */
20 25
21 ngx_int_t 26 ngx_int_t
22 ngx_event_timer_init(ngx_log_t *log) 27 ngx_event_timer_init(ngx_log_t *log)
23 { 28 {
24 ngx_event_timer_rbtree.root = &ngx_event_timer_sentinel; 29 ngx_event_timer_rbtree.root = &ngx_event_timer_sentinel;