Re: httpclose/forceclose and TCP states

2011-09-19 Thread Chris Burroughs
On 09/08/2011 02:20 AM, Willy Tarreau wrote: > On Tue, Sep 06, 2011 at 07:01:44PM -0400, Chris Burroughs wrote: >> > On 09/01/2011 09:04 PM, Chris Burroughs wrote: >>> > > I've looked at the source code and I think that's what's going on, but >>> > > it has been a while since I've read C networking

Re: httpclose/forceclose and TCP states

2011-09-07 Thread Willy Tarreau
On Tue, Sep 06, 2011 at 07:01:44PM -0400, Chris Burroughs wrote: > On 09/01/2011 09:04 PM, Chris Burroughs wrote: > > I've looked at the source code and I think that's what's going on, but > > it has been a while since I've read C networking code. > > If someone is in a particularly explanatory mo

Re: httpclose/forceclose and TCP states

2011-09-07 Thread Willy Tarreau
On Thu, Sep 01, 2011 at 09:04:41PM -0400, Chris Burroughs wrote: > I'm trying to figure out what exactly the httpclose/forceclose is doing > when it forces "the closing of the outgoing server channel as soon as > the server begins to reply and only if the request buffer is empty". Is > it sending

Re: httpclose/forceclose and TCP states

2011-09-06 Thread Chris Burroughs
On 09/01/2011 09:04 PM, Chris Burroughs wrote: > I've looked at the source code and I think that's what's going on, but > it has been a while since I've read C networking code. If someone is in a particularly explanatory mood, I'm also trying to figure out how haproxy handles the SO_LINGER blockin

httpclose/forceclose and TCP states

2011-09-01 Thread Chris Burroughs
I'm trying to figure out what exactly the httpclose/forceclose is doing when it forces "the closing of the outgoing server channel as soon as the server begins to reply and only if the request buffer is empty". Is it sending a RST? I've looked at the source code and I think that's what's going on