From abe0bd3d4a4d33917164d2de46412bf121589280 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 6 Nov 2007 15:01:13 +0000 Subject: [PATCH] set status in correct place --- src/http/modules/ngx_http_proxy_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 0ce507192..9eae90324 100644 --- 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_http_request_t *r) #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; }