comparison src/http/ngx_http_request.c @ 2099:ed73a895b440 stable-0.6

r2015 merge: avoid recursive loop
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jul 2008 11:23:28 +0000
parents 65cff41e9a4e
children 9e219f02594c
comparison
equal deleted inserted replaced
2098:608532dd0850 2099:ed73a895b440
2155 #endif 2155 #endif
2156 2156
2157 hc->pipeline = 1; 2157 hc->pipeline = 1;
2158 c->log->action = "reading client pipelined request line"; 2158 c->log->action = "reading client pipelined request line";
2159 2159
2160 ngx_http_init_request(rev); 2160 rev->handler = ngx_http_init_request;
2161 ngx_post_event(rev, &ngx_posted_events);
2161 return; 2162 return;
2162 } 2163 }
2163 2164
2164 hc->pipeline = 0; 2165 hc->pipeline = 0;
2165 2166
2271 #endif 2272 #endif
2272 2273
2273 c->idle = 1; 2274 c->idle = 1;
2274 2275
2275 if (rev->ready) { 2276 if (rev->ready) {
2276 ngx_http_keepalive_handler(rev); 2277 ngx_post_event(rev, &ngx_posted_events);
2277 } 2278 }
2278 } 2279 }
2279 2280
2280 2281
2281 static void 2282 static void