comparison src/event/ngx_event_timer.h @ 461:a88a3e4e158f release-0.1.5

nginx-0.1.5-RELEASE import *) 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 <igor@sysoev.ru>
date Thu, 11 Nov 2004 14:07:14 +0000
parents 42d11f017717
children bbd6b0b4a2b1
comparison
equal deleted inserted replaced
460:5f8319142dfc 461:a88a3e4e158f
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 }