commit | 2aae701ab7f9c5a95d9fabcfa3e8f6f4e16e7713 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Dec 26 06:21:23 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Dec 26 06:21:23 2008 +0000 |
tree | dc4b9e501d0ed2955fdcb4467806de20648a6494 | |
parent | 97bf6c760ac63bf99bad241594228a6599e9dde0 [diff] |
do not send "100 Continue" for subrequests
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index a7a5cdb..c949d49 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -862,7 +862,10 @@ 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) {