]> git.kaiwu.me - nginx.git/commit
Fix processing
authorIgor Sysoev <igor@sysoev.ru>
Wed, 30 Jun 2010 14:39:28 +0000 (14:39 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 30 Jun 2010 14:39:28 +0000 (14:39 +0000)
commitffcae99251e5f74d73a9aa56012a924aae0076d5
tree71a81743e877499bd07b028e22b00bb639b842dd
parentbcd78e22e97d4c870b5104d0c540caaa972176ed
Fix processing
    error_page 502 504 /zero;
    location = /zero { return 204; }

The bug has been introduced in r3634.
The fix also allow to use:
    error_page 502 504 = /zero;
    location = /zero { return 200; }

This case still does not work:
    error_page 502 504 /zero;
    location = /zero { return 200; }
src/http/ngx_http_core_module.c
src/http/ngx_http_header_filter_module.c