commit | 40e2269bfbc7d475f616b3e97931c012beef1240 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Dec 22 15:44:13 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Dec 22 15:44:13 2008 +0000 |
tree | a5a0b6b240d02e2d3f3f6c07dffb0fd827f90f69 | |
parent | 2a7ce7b878ae9ef4ba617314d2fc349da1ec475d [diff] |
send "100 Continue" for HTTP/1.1 only
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 4f2b325..8f25f1a 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -862,7 +862,7 @@ 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); if (expect != NGX_OK) {