Welcome! Log In Create A New Profile

Advanced

Re: Apache -> Nginx miration problem. Different tcp options?

Maxim Dounin
June 29, 2009 07:51AM
Hello!

On Sun, Jun 28, 2009 at 05:42:50AM -0400, atlantos wrote:

> Problem with HEAD solved by setting fastcgi_ignore_client_abort on
>
> But still getting error on POST. Bellow is code. If $num $num < 853 ( POST length < 1025) everything is ok, if $num >= 853 ( POST length >= 1025) getting error.

What about fixing your app to avoid using half-closed connections
instead? There is no such a beast as half-closed connections in
RFC2616 and nginx stops request processing as soon as it detects
that other end closed connection.

Directives fastcgi_ignore_client_abort/proxy_ignore_client_abort
can be used to avoid such immediate close when request came to
backend, but they was created to protect backends, not to allow
half-closed connections from clients. And it's expected that they
won't do anything as long as connection close was detected before
request was passed to backend.

Maxim Dounin
Subject Author Posted

Apache -> Nginx miration problem. Different tcp options?

atlantos June 28, 2009 12:19AM

Re: Apache -> Nginx miration problem. Different tcp options?

atlantos June 28, 2009 03:37AM

Re: Apache -> Nginx miration problem. Different tcp options?

atlantos June 28, 2009 05:42AM

Re: Apache -> Nginx miration problem. Different tcp options?

Maxim Dounin June 29, 2009 07:51AM

Re: Apache -> Nginx miration problem. Different tcp options?

Nelson Serafica June 28, 2009 08:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready