mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
set status in correct place
This commit is contained in:
parent
a2208091df
commit
d7cf1a6c1f
@ -860,7 +860,8 @@ ngx_http_proxy_process_status_line(ngx_http_request_t *r)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
r->http_version = NGX_HTTP_VERSION_9;
|
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;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user