aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-11-29 20:49:29 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-11-29 20:49:29 +0000
commitf8b50b9c96db9b9e6db1c27dd8e51f253212f002 (patch)
tree83a784193cba865f1419cf58a9048776290c8b5c /src/http/modules/ngx_http_proxy_module.c
parent601ab90cd45030f28ac479ef4fd3ae761dcfb88c (diff)
downloadnginx-f8b50b9c96db9b9e6db1c27dd8e51f253212f002.tar.gz
nginx-f8b50b9c96db9b9e6db1c27dd8e51f253212f002.zip
log proxied HTTP/0.9 responses status as "009"
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index e0f17e70a..3e0588f90 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1230,7 +1230,6 @@ ngx_http_proxy_process_status_line(ngx_http_request_t *r)
if (r->cache) {
r->http_version = NGX_HTTP_VERSION_9;
- u->headers_in.status_n = NGX_HTTP_OK;
return NGX_OK;
}
@@ -1246,7 +1245,6 @@ ngx_http_proxy_process_status_line(ngx_http_request_t *r)
#endif
r->http_version = NGX_HTTP_VERSION_9;
- u->headers_in.status_n = NGX_HTTP_OK;
u->state->status = NGX_HTTP_OK;
return NGX_OK;