Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 499:64d9afb209da release-0.1.24
nginx-0.1.24-RELEASE import
*) 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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Mar 2005 14:06:57 +0000 |
parents | d7c90bb5ce83 |
children | d4ea69372b94 |
comparison
equal
deleted
inserted
replaced
498:58fcf570b0cb | 499:64d9afb209da |
---|---|
91 | 91 |
92 #if (NGX_HTTP_HEADERS) | 92 #if (NGX_HTTP_HEADERS) |
93 { ngx_string("Accept"), offsetof(ngx_http_headers_in_t, accept) }, | 93 { ngx_string("Accept"), offsetof(ngx_http_headers_in_t, accept) }, |
94 { ngx_string("Accept-Language"), | 94 { ngx_string("Accept-Language"), |
95 offsetof(ngx_http_headers_in_t, accept_language) }, | 95 offsetof(ngx_http_headers_in_t, accept_language) }, |
96 { ngx_string("Via"), offsetof(ngx_http_headers_in_t, via) }, | |
97 #endif | 96 #endif |
98 | 97 |
99 { ngx_null_string, 0 } | 98 { ngx_null_string, 0 } |
100 }; | 99 }; |
101 | 100 |
392 if (!(r->pool = ngx_create_pool(cscf->request_pool_size, c->log))) { | 391 if (!(r->pool = ngx_create_pool(cscf->request_pool_size, c->log))) { |
393 ngx_http_close_connection(c); | 392 ngx_http_close_connection(c); |
394 return; | 393 return; |
395 } | 394 } |
396 | 395 |
397 if (ngx_array_init(&r->cleanup, r->pool, 5, sizeof(ngx_http_cleanup_t)) | 396 if (ngx_array_init(&r->cleanup, r->pool, 4, sizeof(ngx_http_cleanup_t)) |
398 == NGX_ERROR) | 397 == NGX_ERROR) |
399 { | 398 { |
400 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); | 399 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); |
401 ngx_http_close_connection(c); | 400 ngx_http_close_connection(c); |
402 return; | 401 return; |
640 ngx_http_close_connection(c); | 639 ngx_http_close_connection(c); |
641 return; | 640 return; |
642 } | 641 } |
643 | 642 |
644 | 643 |
645 if (ngx_array_init(&r->headers_in.cookies, r->pool, 5, | 644 if (ngx_array_init(&r->headers_in.cookies, r->pool, 2, |
646 sizeof(ngx_table_elt_t *)) == NGX_ERROR) | 645 sizeof(ngx_table_elt_t *)) == NGX_ERROR) |
647 { | 646 { |
648 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); | 647 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); |
649 ngx_http_close_connection(c); | 648 ngx_http_close_connection(c); |
650 return; | 649 return; |