Mercurial > hg > nginx
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 Mon Oct 29 14:09:12 2007 +0000 +++ b/src/http/modules/ngx_http_proxy_module.c Tue Nov 06 15:01:13 2007 +0000 @@ -860,7 +860,8 @@ #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; }