From d52477ff6da227552cd77ffcdf19941d5005ca13 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 16 May 2005 13:53:20 +0000 Subject: nginx-0.1.31-RELEASE import *) Bugfix: the response encrypted by SSL may not transferred complete. *) Bugfix: errors while processing FastCGI response by SSI. *) Bugfix: errors while using SSI and gzipping. *) Bugfix: the redirect with the 301 code was transferred without response body; the bug had appeared in 0.1.30. --- src/http/ngx_http_special_response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/ngx_http_special_response.c') diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index 5591dbc88..7a341599a 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -300,7 +300,7 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) } else if (error < NGX_HTTP_BAD_REQUEST) { /* 3XX */ - err = error - NGX_HTTP_MOVED_PERMANENTLY; + err = error - NGX_HTTP_MOVED_PERMANENTLY + NGX_HTTP_LEVEL_200; } else if (error < NGX_HTTP_NGX_CODES) { /* 4XX */ -- cgit