comparison src/http/ngx_http_header_filter_module.c @ 400:6ebbca3d5ed7 NGINX_0_7_12

nginx 0.7.12 *) Feature: the "server_name" directive supports empty name "". *) Feature: the "gzip_disable" directive supports special "msie6" mask. *) 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: a request body was dropped while redirection via an "error_page" directive. *) Bugfix: a full response was returned for request method HEAD while redirection via an "error_page" directive. *) 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.7.0.
author Igor Sysoev <http://sysoev.ru>
date Tue, 26 Aug 2008 00:00:00 +0400
parents 1172e6d6f40f
children 76a79816b771
comparison
equal deleted inserted replaced
399:59e324e4d6d3 400:6ebbca3d5ed7
160 ngx_list_part_t *part; 160 ngx_list_part_t *part;
161 ngx_table_elt_t *header; 161 ngx_table_elt_t *header;
162 ngx_http_core_loc_conf_t *clcf; 162 ngx_http_core_loc_conf_t *clcf;
163 ngx_http_core_srv_conf_t *cscf; 163 ngx_http_core_srv_conf_t *cscf;
164 /* AF_INET only */ 164 /* AF_INET only */
165 u_char addr[INET_ADDRSTRLEN]; 165 u_char addr[NGX_INET_ADDRSTRLEN];
166 166
167 r->header_sent = 1; 167 r->header_sent = 1;
168 168
169 if (r != r->main) { 169 if (r != r->main) {
170 return NGX_OK; 170 return NGX_OK;