aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-06 15:01:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-06 15:01:13 +0000
commitd7cf1a6c1fc6643d5b113299d0b5e21ec7bebb31 (patch)
treef75c00456bbdd237c9d0e9e92e847bdb035699a6 /src
parenta2208091dfaf52a9a6539e6a3be146d73f0d64ba (diff)
downloadnginx-d7cf1a6c1fc6643d5b113299d0b5e21ec7bebb31.tar.gz
nginx-d7cf1a6c1fc6643d5b113299d0b5e21ec7bebb31.zip
set status in correct place
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c3
1 files changed, 2 insertions, 1 deletions
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;
}