Mercurial > hg > nginx
changeset 1842:1e6101aca4bb stable-0.5
r1617 merge:
set status in correct place
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 08 Jan 2008 16:52:00 +0000 |
parents | 6c85b8fc033e |
children | 1f802d26204f |
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 Tue Jan 08 16:47:55 2008 +0000 +++ b/src/http/modules/ngx_http_proxy_module.c Tue Jan 08 16:52:00 2008 +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; }