comparison src/http/ngx_http_request.c @ 378:fc497c1dfb7c NGINX_0_6_33

nginx 0.6.33 *) Feature: now nginx returns the 405 status code for POST method requesting a static file only if the file exists. *) Workaround: compatibility with glibc 2.3. Thanks to Eric Benson and Maxim Dounin. *) Bugfix: the resolver did not understand big DNS responses. Thanks to Zyb. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error. *) Bugfix: the ngx_http_charset_module did not understand quoted charset name received from backend. *) Bugfix: if the "max_fails=0" parameter was used in upstream with several servers, then a worker process exited on a SIGFPE signal. Thanks to Maxim Dounin. *) Bugfix: the $r->header_in() method did not return value of the "Host", "User-Agent", and "Connection" request header lines; the bug had appeared in 0.6.32. *) Bugfix: a full response was returned for request method HEAD while redirection via an "error_page" directive. *) Bugfix: if a directory has search only rights and the first index file was absent, then nginx returned the 500 status code. *) Bugfix: of recursive error_page for 500 status code.
author Igor Sysoev <http://sysoev.ru>
date Thu, 20 Nov 2008 00:00:00 +0300
parents d13234035cad
children 3ce4580ae286
comparison
equal deleted inserted replaced
377:15c4ba3bc2fa 378:fc497c1dfb7c
72 "client sent invalid method in HTTP/0.9 request" 72 "client sent invalid method in HTTP/0.9 request"
73 }; 73 };
74 74
75 75
76 ngx_http_header_t ngx_http_headers_in[] = { 76 ngx_http_header_t ngx_http_headers_in[] = {
77 { ngx_string("Host"), 0, ngx_http_process_host }, 77 { ngx_string("Host"), offsetof(ngx_http_headers_in_t, host),
78 78 ngx_http_process_host },
79 { ngx_string("Connection"), 0, ngx_http_process_connection }, 79
80 { ngx_string("Connection"), offsetof(ngx_http_headers_in_t, connection),
81 ngx_http_process_connection },
80 82
81 { ngx_string("If-Modified-Since"), 83 { ngx_string("If-Modified-Since"),
82 offsetof(ngx_http_headers_in_t, if_modified_since), 84 offsetof(ngx_http_headers_in_t, if_modified_since),
83 ngx_http_process_unique_header_line }, 85 ngx_http_process_unique_header_line },
84 86
85 { ngx_string("User-Agent"), 0, ngx_http_process_user_agent }, 87 { ngx_string("User-Agent"), offsetof(ngx_http_headers_in_t, user_agent),
88 ngx_http_process_user_agent },
86 89
87 { ngx_string("Referer"), offsetof(ngx_http_headers_in_t, referer), 90 { ngx_string("Referer"), offsetof(ngx_http_headers_in_t, referer),
88 ngx_http_process_header_line }, 91 ngx_http_process_header_line },
89 92
90 { ngx_string("Content-Length"), 93 { ngx_string("Content-Length"),