aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-09 20:03:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-09 20:03:38 +0000
commit74e95c224ad84c6b84b5a834f49c014a441916b5 (patch)
treefea6b4e7b2706f089e462d201e90ec95f5a98fa2 /src/http/ngx_http_request.c
parente8732b06b94ea5f8a25fa3e71cece7d93f5ac0b8 (diff)
downloadnginx-74e95c224ad84c6b84b5a834f49c014a441916b5.tar.gz
nginx-74e95c224ad84c6b84b5a834f49c014a441916b5.zip
nginx-0.0.1-2003-11-09-23:03:38 import; separate building
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index dcf8dac66..9dd040e43 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -225,6 +225,7 @@ ngx_log_debug(rev->log, "IN: %08x" _ in_port);
return;
}
+ /* TODO: ngx_init_table */
if (!(r->headers_out.headers = ngx_create_table(r->pool, 20))) {
ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
ngx_http_close_connection(c);
@@ -416,6 +417,7 @@ static void ngx_http_process_request_line(ngx_event_t *rev)
lctx = c->log->data;
lctx->action = "reading client request headers";
lctx->url = r->unparsed_uri.data;
+ /* TODO: ngx_init_table */
r->headers_in.headers = ngx_create_table(r->pool, 20);
if (cscf->large_client_header
@@ -1068,7 +1070,8 @@ static void ngx_http_set_keepalive(ngx_http_request_t *r)
if (h->pos < h->last) {
- /* Pipelined request.
+ /*
+ * Pipelined request.
*
* We do not know here whether a pipelined request is complete
* so if the large client headers are not enabled