Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_special_response.c @ 400:349057ecf4d5 NGINX_0_7_10
nginx 0.7.10
*) Bugfix: in the "addition_types", "charset_types", "gzip_types",
"ssi_types", "sub_filter_types", and "xslt_types" directives; the
bugs had appeared in 0.7.9.
*) Bugfix: of recursive error_page for 500 status code.
*) Bugfix: now the ngx_http_realip_module set address not for whole
keepalive connection, but for each request passed via the connection.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 13 Aug 2008 00:00:00 +0400 |
parents | bc21d9cd9c54 |
children | 6ebbca3d5ed7 |
comparison
equal
deleted
inserted
replaced
398:ebf3256f0c2b | 400:349057ecf4d5 |
---|---|
369 | 369 |
370 r->headers_out.content_type.len = 0; | 370 r->headers_out.content_type.len = 0; |
371 | 371 |
372 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 372 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
373 | 373 |
374 if (!r->error_page && clcf->error_pages) { | 374 if (!r->error_page && clcf->error_pages && r->uri_changes != 0) { |
375 | 375 |
376 if (clcf->recursive_error_pages == 0) { | 376 if (clcf->recursive_error_pages == 0) { |
377 r->error_page = 1; | 377 r->error_page = 1; |
378 } | 378 } |
379 | 379 |