comparison src/http/ngx_http_header_filter_module.c @ 582:c456a023113c NGINX_0_8_43

nginx 0.8.43 *) Feature: large geo ranges base loading speed-up. *) Bugfix: an error_page redirection to "location /zero { return 204; }" without changing status code kept the error body; the bug had appeared in 0.8.42. *) Bugfix: nginx might close IPv6 listen socket during reconfiguration. Thanks to Maxim Dounin. *) Bugfix: the $uid_set variable may be used at any request processing stage.
author Igor Sysoev <http://sysoev.ru>
date Wed, 30 Jun 2010 00:00:00 +0400
parents 4d3e880ce86c
children 753f505670e0
comparison
equal deleted inserted replaced
581:22b2345b75d9 582:c456a023113c
168 #if (NGX_HAVE_INET6) 168 #if (NGX_HAVE_INET6)
169 struct sockaddr_in6 *sin6; 169 struct sockaddr_in6 *sin6;
170 #endif 170 #endif
171 u_char addr[NGX_SOCKADDR_STRLEN]; 171 u_char addr[NGX_SOCKADDR_STRLEN];
172 172
173 if (r->header_sent) {
174 return NGX_OK;
175 }
176
173 r->header_sent = 1; 177 r->header_sent = 1;
174 178
175 if (r != r->main) { 179 if (r != r->main) {
176 return NGX_OK; 180 return NGX_OK;
177 } 181 }