diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-12-09 08:22:35 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-09 08:22:35 +0000 |
| commit | 5a55d7104b4f54d63091466f82d203c8e6776752 (patch) | |
| tree | 1e46df9fada2bf3c4fe6773fc2db01710bbd5e7f /src/http/ngx_http_upstream.c | |
| parent | a11491133256e57f2387404a8f9dcb67461e4bde (diff) | |
| download | nginx-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.c | 2 |
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; |
