Mercurial > hg > nginx-quic
changeset 2435:821497e016b6
do not send "100 Continue" for subrequests
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 26 Dec 2008 06:21:23 +0000 |
parents | f80631ca01c6 |
children | 26d9d4a41e91 |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -862,7 +862,10 @@ ngx_http_core_find_config_phase(ngx_http return NGX_OK; } - if (r->headers_in.expect && r->http_version > NGX_HTTP_VERSION_10) { + if (r->headers_in.expect + && r == r->main + && r->http_version > NGX_HTTP_VERSION_10) + { expect = ngx_http_core_send_continue(r); if (expect != NGX_OK) {