Welcome! Log In Create A New Profile

Advanced

Re: Keep-alive and Safari

November 25, 2010 07:04AM
I also founded NGIX disabled keep-alive for safari.

I am not sure exact reason of this.

### ngx_http_core_module.c
if (r->keepalive) {

if (r->headers_in.msie6) {
if (r->method == NGX_HTTP_POST) {
/*
* MSIE may wait for some time if an response for
* a POST request was sent over a keepalive connection
*/
r->keepalive = 0;
}

} else if (r->headers_in.safari) {
/*
* Safari may send a POST request to a closed keepalive
* connection and stalls for some time
*/
r->keepalive = 0;
}
}
Subject Author Posted

Keep-alive and Safari

Jan Andersson November 19, 2010 02:48PM

Re: Keep-alive and Safari

doors November 25, 2010 07:04AM

Re: Keep-alive and Safari

Maxim Dounin November 25, 2010 07:32AM

Re: Keep-alive and Safari

Jan Andersson November 25, 2010 10:54AM

Re: Keep-alive and Safari

Igor Sysoev November 25, 2010 11:14AM

Re: Keep-alive and Safari

Igor Sysoev November 25, 2010 11:16AM

Re: Keep-alive and Safari

Maxim Dounin November 25, 2010 11:42AM

Re: Keep-alive and Safari

Igor Sysoev November 25, 2010 01:26PM

Re: Keep-alive and Safari

doors November 25, 2010 07:16PM

Re: Keep-alive and Safari

doors November 25, 2010 08:23PM

Re: Keep-alive and Safari

Igor Sysoev November 26, 2010 12:58AM

答复: Keep-alive and Safari

Zhang,Tony November 26, 2010 01:00AM

Re: 答复: Keep-alive and Safari

Igor Sysoev November 26, 2010 01:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready