diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-11-06 15:01:13 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-11-06 15:01:13 +0000 |
commit | d7cf1a6c1fc6643d5b113299d0b5e21ec7bebb31 (patch) | |
tree | f75c00456bbdd237c9d0e9e92e847bdb035699a6 /src | |
parent | a2208091dfaf52a9a6539e6a3be146d73f0d64ba (diff) | |
download | nginx-d7cf1a6c1fc6643d5b113299d0b5e21ec7bebb31.tar.gz nginx-d7cf1a6c1fc6643d5b113299d0b5e21ec7bebb31.zip |
set status in correct place
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 0ce507192..9eae90324 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -860,7 +860,8 @@ ngx_http_proxy_process_status_line(ngx_http_request_t *r) #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; } |