Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 2014:4151c33e4dfa
avoid recursive loop
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 19 May 2008 10:24:22 +0000 |
parents | b9de93d804ea |
children | e720be7bc195 |
comparison
equal
deleted
inserted
replaced
2013:4c685f02a5a0 | 2014:4151c33e4dfa |
---|---|
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 |