comparison 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
comparison
equal deleted inserted replaced
403:ea3113b181d1 404:37b5381fb6d8
337 break; 337 break;
338 338
339 case NGX_HTTP_CONNECTION_KEEP_ALIVE: 339 case NGX_HTTP_CONNECTION_KEEP_ALIVE:
340 r->keepalive = 1; 340 r->keepalive = 1;
341 break; 341 break;
342 }
343
344 if (r->keepalive && r->headers_in.msie && r->method == NGX_HTTP_POST) {
345
346 /*
347 * MSIE may wait for some time if the response for the POST request
348 * is sent over the keepalive connection
349 */
350
351 r->keepalive = 0;
342 } 352 }
343 353
344 #if 0 354 #if 0
345 /* TEST STUB */ r->http_version = NGX_HTTP_VERSION_10; 355 /* TEST STUB */ r->http_version = NGX_HTTP_VERSION_10;
346 /* TEST STUB */ r->keepalive = 0; 356 /* TEST STUB */ r->keepalive = 0;