commit | 060e6855a802a9e9bf2e6905342f704f64a3a26d | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Sat Jan 19 20:47:59 2008 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Sat Jan 19 20:47:59 2008 +0000 |
tree | 4e7aacd975ced3b4a7c73c29e985983bc6cda79f | |
parent | e3979f776a3837716aa7e566e388332d85314ceb [diff] |
Patch #1019808 from Federico Schwindt: Return correct socket error when a default timeout has been set, by using getsockopt() to get the error condition (instead of trying another connect() call, which seems to be a Linuxism). 2.5 bugfix candidate, assuming no one reports any problems with this change.