• Poul-Henning Kamp's avatar
    Change the way we close client sessions. · 7243e9c5
    Poul-Henning Kamp authored
    Previously we always used SO_LINGER to make sure that all queued data
    got transmitted, no matter under which circumstances we closed the
    client connection.
    
    Change this so that SO_LINGER is only activated for orderly connection
    closure (ie: "Connection: close" from client or error handling), in
    all other cases (usually the client connecting on us, abandon any data
    queued for transmission.
    
    This _may_ reduce the tendency of worker threads to get hung up on
    network failures a little bit.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4046 d4fa192b-c00b-0410-8231-f00ffab90ce4
    7243e9c5
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
varnishapi.pc.in Loading commit data...