• 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
..
tests Loading commit data...
Makefile.am Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
t001.vtc Loading commit data...
varnishtest.1 Loading commit data...
vtc.c Loading commit data...
vtc.h Loading commit data...
vtc_client.c Loading commit data...
vtc_http.c Loading commit data...
vtc_log.c Loading commit data...
vtc_sema.c Loading commit data...
vtc_server.c Loading commit data...
vtc_varnish.c Loading commit data...