Welcome! Log In Create A New Profile


nginx resets connection

Gerhard Heift
March 16, 2011 07:12PM

I found a bug in the request finalization on linux:

If the server has a keep-alive set to 0 and the client sends pipelined
requests which exeeds client_header_buffer_size, nginx closes the
connection and linux sends a TCP RST since there is still data in
the TCP buffer of the kernel. This results in an incomplete transfer on
the client site.

One possible solution would be to allow pipelined request even if
keep-alive is set to zero. Another one would be to wait until the kernel
receives the ACK for all pending data in the send buffer.

nginx mailing list
Subject Author Posted

nginx resets connection

Gerhard Heift March 16, 2011 07:12PM

Re: nginx resets connection

Maxim Dounin March 17, 2011 08:02AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
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