[PATCH] Instruct the kernel to reset the connection for SC_RX_TIMEOUT, and others
Poul-Henning Kamp
phk at phk.freebsd.dk
Sun Mar 1 10:07:40 CET 2015
--------
In message <21409.1425200737 at critter.freebsd.dk>, "Poul-Henning Kamp" writes:
>The problem with !SO_LINGER (we tried it some years back) is that
>all queued data is discarded the moment you call close(2), and we
>have no way to know if our last response is still lingering in the
>kernel's tcp-buffers and dribbling out to a slow client with a bad
>mobile phone connection.
Just to clarify: This was not meant to say "No Way!" but to point
out the level of real-life testing that will be necessary for any
change to this aspect.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-dev
mailing list