[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] leafnode hanging
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
--
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/