comparison src/event/ngx_event_timer.c @ 77:57c2e18d3572

nginx-0.0.1-2003-04-17-21:59:35 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Apr 2003 17:59:35 +0000
parents d1e42f1b8fd4
children 3973260705cc
comparison
equal deleted inserted replaced
76:6127d7075471 77:57c2e18d3572
127 } 127 }
128 128
129 delta -= ev->timer_delta; 129 delta -= ev->timer_delta;
130 130
131 ngx_del_timer(ev); 131 ngx_del_timer(ev);
132 ev->timedout = 1; 132 if (ev->delayed) {
133 ev->delayed = 0;
134 if (ev->ready == 0) {
135 continue;
136 }
137
138 } else {
139 ev->timedout = 1;
140 }
133 141
134 if (ev->event_handler(ev) == NGX_ERROR) { 142 if (ev->event_handler(ev) == NGX_ERROR) {
135 ev->close_handler(ev); 143 ev->close_handler(ev);
136 } 144 }
137 } 145 }