diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-03-04 14:04:26 +0000 |
---|---|---|
committer | Jonathan Kolb <jon@b0g.us> | 2005-03-04 14:04:26 +0000 |
commit | c5e300ff4b3366bcafaa41e44b8981c992669cec (patch) | |
tree | 4d3528124d88abae2db0594a921d7e834061cdee /src/http/ngx_http_request.c | |
parent | f201d049a71e500be3ce9d85b93f034285344c38 (diff) | |
download | nginx-c5e300ff4b3366bcafaa41e44b8981c992669cec.tar.gz |
Changes with nginx 0.1.24 04 Mar 2005v0.1.24
*) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING
and DOCUMENT_URI variables.
*) Bugfix: the ngx_http_autoindex_module may some times return the 404
response for existent directory, if this directory was used in
"alias" directive.
*) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large
responses.
*) Bugfix: the lack of the "Referer" header line was always accounted
as valid referrer.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index dd104d453..d41cb8d40 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -93,7 +93,6 @@ ngx_http_header_t ngx_http_headers_in[] = { { ngx_string("Accept"), offsetof(ngx_http_headers_in_t, accept) }, { ngx_string("Accept-Language"), offsetof(ngx_http_headers_in_t, accept_language) }, - { ngx_string("Via"), offsetof(ngx_http_headers_in_t, via) }, #endif { ngx_null_string, 0 } @@ -394,7 +393,7 @@ static void ngx_http_init_request(ngx_event_t *rev) return; } - if (ngx_array_init(&r->cleanup, r->pool, 5, sizeof(ngx_http_cleanup_t)) + if (ngx_array_init(&r->cleanup, r->pool, 4, sizeof(ngx_http_cleanup_t)) == NGX_ERROR) { ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); @@ -642,7 +641,7 @@ static void ngx_http_process_request_line(ngx_event_t *rev) } - if (ngx_array_init(&r->headers_in.cookies, r->pool, 5, + if (ngx_array_init(&r->headers_in.cookies, r->pool, 2, sizeof(ngx_table_elt_t *)) == NGX_ERROR) { ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); |