[leafnode-list] leafnode hanging
Matthias Andree
matthias.andree at gmx.de
Fri Feb 27 00:28:43 CET 2004
Jan Knutar schrieb am 2004-02-25:
> > Leafnode relies on the kernel's TCP/IP stack to pass down a timeout.
> > If the server just hangs without actually dropping the line, leafnode
> > will also hang.
>
> How about atleast setting SO_KEEPALIVE, so that leafnode doesn't hang
> forever, or is this already done?
SO_KEEPALIVE isn't useful here, it will detect dead connections only
after hours which is way too much.
leafnode has already been using its internal mgetaline() function when
expecting a server reponse with status code which timed out after 15
minutes, but didn't - before 1.9.52.rc1 - use that function to read the
payload. Such changes are still pending for leafnode-2.
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
More information about the leafnode-list
mailing list