mirror of
https://github.com/nginx/nginx.git
synced 2024-12-02 05:29:14 -06:00
send "100 Continue" for HTTP/1.1 only
This commit is contained in:
parent
2a7ce7b878
commit
40e2269bfb
@ -862,7 +862,7 @@ ngx_http_core_find_config_phase(ngx_http_request_t *r,
|
|||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (r->headers_in.expect) {
|
if (r->headers_in.expect && r->http_version < NGX_HTTP_VERSION_11) {
|
||||||
expect = ngx_http_core_send_continue(r);
|
expect = ngx_http_core_send_continue(r);
|
||||||
|
|
||||||
if (expect != NGX_OK) {
|
if (expect != NGX_OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user