Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-05-16 17:53:20 +0400
committerIgor Sysoev <igor@sysoev.ru>2005-05-16 17:53:20 +0400
commitd52477ff6da227552cd77ffcdf19941d5005ca13 (patch)
treeb075a90c87e64b29770391ebcd0070c9bd208f5f /src/http/ngx_http_special_response.c
parentd5d6b6bc3bfa5198f9ca7412b17feddaa348d1c6 (diff)
nginx-0.1.31-RELEASE importrelease-0.1.31
*) 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.
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c2
1 files changed, 1 insertions, 1 deletions
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 */