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
+++ b/src/http/ngx_http_core_module.c
@@ -341,6 +341,16 @@ void ngx_http_handler(ngx_http_request_t
         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;