comparison src/http/ngx_http_core_module.c @ 2420:2820d548417d

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Tue, 23 Dec 2008 08:10:17 +0000
parents 4876c3966fbd
children 8f0f1d151f14
comparison
equal deleted inserted replaced
2419:4876c3966fbd 2420:2820d548417d
860 860
861 ngx_http_finalize_request(r, NGX_HTTP_REQUEST_ENTITY_TOO_LARGE); 861 ngx_http_finalize_request(r, NGX_HTTP_REQUEST_ENTITY_TOO_LARGE);
862 return NGX_OK; 862 return NGX_OK;
863 } 863 }
864 864
865 if (r->headers_in.expect && r->http_version < NGX_HTTP_VERSION_11) { 865 if (r->headers_in.expect && r->http_version > NGX_HTTP_VERSION_10) {
866 expect = ngx_http_core_send_continue(r); 866 expect = ngx_http_core_send_continue(r);
867 867
868 if (expect != NGX_OK) { 868 if (expect != NGX_OK) {
869 ngx_http_finalize_request(r, expect); 869 ngx_http_finalize_request(r, expect);
870 return NGX_OK; 870 return NGX_OK;