summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-09 08:22:35 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-09 08:22:35 +0000
commit5a55d7104b4f54d63091466f82d203c8e6776752 (patch)
tree1e46df9fada2bf3c4fe6773fc2db01710bbd5e7f /src/http/ngx_http_upstream.c
parenta11491133256e57f2387404a8f9dcb67461e4bde (diff)
downloadnginx-5a55d7104b4f54d63091466f82d203c8e6776752.tar.gz
nginx-5a55d7104b4f54d63091466f82d203c8e6776752.tar.bz2
return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR in u->parse_header()
Diffstat (limited to 'src/http/ngx_http_upstream.c')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 3d7249921..48158a4e5 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1158,7 +1158,7 @@ ngx_http_upstream_process_header(ngx_event_t *rev)
return;
}
- if (rc == NGX_ERROR || rc == NGX_HTTP_INTERNAL_SERVER_ERROR) {
+ if (rc == NGX_ERROR) {
ngx_http_upstream_finalize_request(r, u,
NGX_HTTP_INTERNAL_SERVER_ERROR);
return;