changeset 1616:0a293900d21b

set status in correct place
author Igor Sysoev <igor@sysoev.ru>
date Tue, 06 Nov 2007 15:01:13 +0000
parents a78d15d76a15
children 91c08c1f4654
files src/http/modules/ngx_http_proxy_module.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -860,7 +860,8 @@ ngx_http_proxy_process_status_line(ngx_h
 #endif
 
         r->http_version = NGX_HTTP_VERSION_9;
-        p->status = NGX_HTTP_OK;
+        u->headers_in.status_n = NGX_HTTP_OK;
+        u->state->status = NGX_HTTP_OK;
 
         return NGX_OK;
     }