mirror of https://github.com/nginx/nginx
Merge 49692605ff into c70457482c
This commit is contained in:
commit
f55f0124cd
|
|
@ -1785,11 +1785,11 @@ ngx_http_proxy_process_status_line(ngx_http_request_t *r)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
r->http_version = NGX_HTTP_VERSION_9;
|
u->state->status = NGX_HTTP_UPSTREAM_INVALID_HEADER;
|
||||||
u->state->status = NGX_HTTP_OK;
|
|
||||||
u->headers_in.connection_close = 1;
|
u->headers_in.connection_close = 1;
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_HTTP_UPSTREAM_INVALID_HEADER;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->state && u->state->status == 0) {
|
if (u->state && u->state->status == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue