comparison src/event/ngx_event_timer.h @ 10:46833bd150cb NGINX_0_1_5

nginx 0.1.5 *) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 Nov 2004 00:00:00 +0300
parents f0b350454894
children 74b1868dd3cd
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
87 * for the fast connections. 87 * for the fast connections.
88 */ 88 */
89 89
90 if (abs(key - ev->rbtree_key) < 100 / NGX_TIMER_RESOLUTION) { 90 if (abs(key - ev->rbtree_key) < 100 / NGX_TIMER_RESOLUTION) {
91 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, ev->log, 0, 91 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, ev->log, 0,
92 "event timer: %d, old: %d, new: %d", 92 "event timer: %d, old: %i, new: %i",
93 ngx_event_ident(ev->data), ev->rbtree_key, key); 93 ngx_event_ident(ev->data), ev->rbtree_key, key);
94 return; 94 return;
95 } 95 }
96 96
97 ngx_del_timer(ev); 97 ngx_del_timer(ev);
98 } 98 }
99 99
100 ev->rbtree_key = key; 100 ev->rbtree_key = key;
101 101
102 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ev->log, 0, 102 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ev->log, 0,
103 "event timer add: %d: %d", 103 "event timer add: %d: %i",
104 ngx_event_ident(ev->data), ev->rbtree_key); 104 ngx_event_ident(ev->data), ev->rbtree_key);
105 105
106 if (ngx_mutex_lock(ngx_event_timer_mutex) == NGX_ERROR) { 106 if (ngx_mutex_lock(ngx_event_timer_mutex) == NGX_ERROR) {
107 return; 107 return;
108 } 108 }