diff src/http/ngx_http_special_response.c @ 62:0790a8599248 NGINX_0_1_31

nginx 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; bug appeared in 0.1.30.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 May 2005 00:00:00 +0400
parents df7d3fff122b
children da9a3b14312d
line wrap: on
line diff
--- 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_ht
 
     } 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 */