Mercurial > hg > nginx
diff src/http/ngx_http_core_module.c @ 404:37b5381fb6d8
nginx-0.0.9-2004-07-30-21:05:14 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 30 Jul 2004 17:05:14 +0000 |
parents | b32ca005e025 |
children | 4765ded59eaa |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Wed Jul 28 19:21:26 2004 +0000 +++ b/src/http/ngx_http_core_module.c Fri Jul 30 17:05:14 2004 +0000 @@ -341,6 +341,16 @@ break; } + if (r->keepalive && r->headers_in.msie && r->method == NGX_HTTP_POST) { + + /* + * MSIE may wait for some time if the response for the POST request + * is sent over the keepalive connection + */ + + r->keepalive = 0; + } + #if 0 /* TEST STUB */ r->http_version = NGX_HTTP_VERSION_10; /* TEST STUB */ r->keepalive = 0;