]> git.kaiwu.me - nginx.git/commitdiff
fix the previous commit
authorIgor Sysoev <igor@sysoev.ru>
Tue, 23 Dec 2008 08:10:17 +0000 (08:10 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 23 Dec 2008 08:10:17 +0000 (08:10 +0000)
src/http/ngx_http_core_module.c

index 8f25f1ab5c175a6b94f990f3a12461943efd1430..6a72f31d5cf09b6bc99b280c8bd133366e9f91c9 100644 (file)
@@ -862,7 +862,7 @@ ngx_http_core_find_config_phase(ngx_http_request_t *r,
         return NGX_OK;
     }
 
-    if (r->headers_in.expect && r->http_version < NGX_HTTP_VERSION_11) {
+    if (r->headers_in.expect && r->http_version > NGX_HTTP_VERSION_10) {
         expect = ngx_http_core_send_continue(r);
 
         if (expect != NGX_OK) {