From 74e95c224ad84c6b84b5a834f49c014a441916b5 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 9 Nov 2003 20:03:38 +0000 Subject: nginx-0.0.1-2003-11-09-23:03:38 import; separate building --- src/http/ngx_http_request.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/http/ngx_http_request.c') 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 -- cgit v1.2.3