set status in correct place

This commit is contained in:
Igor Sysoev 2007-11-06 15:01:13 +00:00
parent d22059220c
commit abe0bd3d4a

View file

@ -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;
}