comparison src/http/ngx_http_request.c @ 2109:3db8a8263055 stable-0.5

r2015 merge: avoid recursive loop
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jul 2008 11:50:21 +0000
parents 0e4c85e25ed5
children
comparison
equal deleted inserted replaced
2108:464aadfa443b 2109:3db8a8263055
2044 #endif 2044 #endif
2045 2045
2046 hc->pipeline = 1; 2046 hc->pipeline = 1;
2047 c->log->action = "reading client pipelined request line"; 2047 c->log->action = "reading client pipelined request line";
2048 2048
2049 ngx_http_init_request(rev); 2049 rev->handler = ngx_http_init_request;
2050 ngx_post_event(rev, &ngx_posted_events);
2050 return; 2051 return;
2051 } 2052 }
2052 2053
2053 hc->pipeline = 0; 2054 hc->pipeline = 0;
2054 2055
2154 #endif 2155 #endif
2155 2156
2156 c->idle = 1; 2157 c->idle = 1;
2157 2158
2158 if (rev->ready) { 2159 if (rev->ready) {
2159 ngx_http_keepalive_handler(rev); 2160 ngx_post_event(rev, &ngx_posted_events);
2160 } 2161 }
2161 } 2162 }
2162 2163
2163 2164
2164 static void 2165 static void