enable timeouts in XmlRpcClient
Status: Beta
Brought to you by:
cmorley
This patch implements connection timeouts in
XmlRpcClient. Without it, there's no way to detect
unresponsible server and the client blocks waiting in
select() if it can't make the call. Usually, the client
will get an error, but in some rare situations, it's
unable to detect the error. This can happen e.g. in
case of network problems or if the server dies in such
way that it doesn't close estabished TCP connection
between it and the client correctly (no TCP FIN sent,
the client has no way of knowing the connection is
inactive).
timeout patch