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 blocking/throws-away-data trap. Apache httpd for example does this: https://github.com/apache/httpd/blob/trunk/server/connection.c#L43

