diff src/http/modules/ngx_http_proxy_module.c @ 3370:bfe37ab335b5

log proxied HTTP/0.9 responses status as "009"
author Igor Sysoev <igor@sysoev.ru>
date Sun, 29 Nov 2009 20:49:29 +0000
parents 9421e997c2c4
children 3b2a8a0dca8e
line wrap: on
line diff
--- 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_h
 
         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_h
 #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;