| commit | d7cf1a6c1fc6643d5b113299d0b5e21ec7bebb31 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Tue Nov 06 15:01:13 2007 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Tue Nov 06 15:01:13 2007 +0000 |
| tree | f75c00456bbdd237c9d0e9e92e847bdb035699a6 | |
| parent | a2208091dfaf52a9a6539e6a3be146d73f0d64ba [diff] [blame] |
set status in correct place
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 0ce5071..9eae903 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c
@@ -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; }