A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-April/099242.html below:

[Python-Dev] stdlib socket usage and "keepalive"

[Python-Dev] stdlib socket usage and "keepalive" [Python-Dev] stdlib socket usage and "keepalive"Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 13 10:43:58 CEST 2010
Jesus Cea wrote:

> About controversial... keepalive are usually sent only when the
> connection is 100% idle for a while, when "while" can be >15 minutes, so
> the load should be "none" for regular connections.

I guess the concern would be that the keepalive probe itself
is subject to uncertain delays, so how long do you wait for
a reply before deciding that the connection is dead? If you
don't wait long enough, you could end up killing a connection
that would have come back if you had waited longer.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4