comparison src/http/modules/ngx_http_proxy_module.c @ 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 6b81bbc36eaf
children c7757ce0ae97
comparison
equal deleted inserted replaced
1841:6c85b8fc033e 1842:1e6101aca4bb
858 return NGX_HTTP_UPSTREAM_INVALID_HEADER; 858 return NGX_HTTP_UPSTREAM_INVALID_HEADER;
859 } 859 }
860 #endif 860 #endif
861 861
862 r->http_version = NGX_HTTP_VERSION_9; 862 r->http_version = NGX_HTTP_VERSION_9;
863 p->status = NGX_HTTP_OK; 863 u->headers_in.status_n = NGX_HTTP_OK;
864 u->state->status = NGX_HTTP_OK;
864 865
865 return NGX_OK; 866 return NGX_OK;
866 } 867 }
867 868
868 u->headers_in.status_n = p->status; 869 u->headers_in.status_n = p->status;