mirror of
https://github.com/nginx/nginx.git
synced 2026-05-13 09:36:42 +00:00
Merge 49692605ff into 319b4ea63f
This commit is contained in:
commit
98837fdb98
1 changed files with 3 additions and 3 deletions
|
|
@ -1780,11 +1780,11 @@ ngx_http_proxy_process_status_line(ngx_http_request_t *r)
|
|||
}
|
||||
#endif
|
||||
|
||||
r->http_version = NGX_HTTP_VERSION_9;
|
||||
u->state->status = NGX_HTTP_OK;
|
||||
u->state->status = NGX_HTTP_UPSTREAM_INVALID_HEADER;
|
||||
|
||||
u->headers_in.connection_close = 1;
|
||||
|
||||
return NGX_OK;
|
||||
return NGX_HTTP_UPSTREAM_INVALID_HEADER;
|
||||
}
|
||||
|
||||
if (u->state && u->state->status == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue