comparison src/http/modules/ngx_http_proxy_module.c @ 1616:0a293900d21b

set status in correct place
author Igor Sysoev <igor@sysoev.ru>
date Tue, 06 Nov 2007 15:01:13 +0000
parents 4c43e25d11ea
children 13f8dec720b5
comparison
equal deleted inserted replaced
1608:a78d15d76a15 1616:0a293900d21b
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;