aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_special_response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 14c071775..7e7a42b34 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -163,11 +163,11 @@ int ngx_http_special_response_handler(ngx_http_request_t *r, int error)
} else if (error < NGX_HTTP_INTERNAL_SERVER_ERROR) {
/* 4XX */
- err = error - NGX_HTTP_BAD_REQUEST + 4;
+ err = error - NGX_HTTP_BAD_REQUEST + 3;
} else {
/* 5XX */
- err = error - NGX_HTTP_INTERNAL_SERVER_ERROR + 4 + 17;
+ err = error - NGX_HTTP_INTERNAL_SERVER_ERROR + 3 + 17;
}
if (r->keepalive != 0) {