diff options
author | Tim Harder <radhermit@gmail.com> | 2014-07-01 00:29:05 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2014-07-02 23:01:14 +0200 |
commit | 29507979da85db4628993fedfea1c7d174714461 (patch) | |
tree | 8733ed2f84365260fd7c73a55668a27cec5c3cc5 /nss/ethers.c | |
parent | 1765e344b88199e36e79a241b1f0d09aecb9b92a (diff) |
Check a socket's connectivity before trying to use it
This alleviates some cases where multi-second lag occurs before a query
returns due to some or all connections having been closed by the peer,
e.g. a load balancer timing out old connections, but they are all tried
before opening new connections.
Tested and working on Linux.
Diffstat (limited to 'nss/ethers.c')
0 files changed, 0 insertions, 0 deletions