Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 367:ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 24 Jun 2004 07:53:37 +0000 |
parents | 7650aea1816f |
children | 15c84a40e87d |
comparison
equal
deleted
inserted
replaced
366:e411b1482ee3 | 367:ceec87d1c2b3 |
---|---|
159 ngx_http_close_connection(c); | 159 ngx_http_close_connection(c); |
160 return; | 160 return; |
161 } | 161 } |
162 } | 162 } |
163 | 163 |
164 r->signature = NGX_HTTP_MODULE; | |
164 r->http_state = NGX_HTTP_INITING_REQUEST_STATE; | 165 r->http_state = NGX_HTTP_INITING_REQUEST_STATE; |
165 | 166 |
166 /* find the server configuration for the address:port */ | 167 /* find the server configuration for the address:port */ |
167 | 168 |
168 /* AF_INET only */ | 169 /* AF_INET only */ |
1380 return; | 1381 return; |
1381 } | 1382 } |
1382 c->tcp_nopush = NGX_TCP_NOPUSH_UNSET; | 1383 c->tcp_nopush = NGX_TCP_NOPUSH_UNSET; |
1383 } | 1384 } |
1384 | 1385 |
1386 r->http_state = NGX_HTTP_KEEPALIVE_STATE; | |
1387 | |
1385 if (rev->ready) { | 1388 if (rev->ready) { |
1386 ngx_http_keepalive_handler(rev); | 1389 ngx_http_keepalive_handler(rev); |
1387 } | 1390 } |
1388 } | 1391 } |
1389 | 1392 |
1686 | 1689 |
1687 /* ctx->url was allocated from r->pool */ | 1690 /* ctx->url was allocated from r->pool */ |
1688 ctx = log->data; | 1691 ctx = log->data; |
1689 ctx->url = NULL; | 1692 ctx->url = NULL; |
1690 | 1693 |
1694 r->request_line.len = 0; | |
1695 | |
1691 ngx_destroy_pool(r->pool); | 1696 ngx_destroy_pool(r->pool); |
1692 | 1697 |
1693 return; | 1698 return; |
1694 } | 1699 } |
1695 | 1700 |