commit | e1d5455a74521a01a37579fb925ffa7fbe06f57f | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Fri Nov 16 18:29:19 2012 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Fri Nov 16 18:29:19 2012 +0000 |
tree | ff278bdf48e0cc3be6ff4c65ee56d79d0bb77926 | |
parent | 4d0d2b20ac71f6749b2e3a15f28075ec59531c71 [diff] |
Upstream: better detection of connect() failures with kqueue. Pending EOF might be reported on both read and write events, whichever comes first, so check both of them. Patch by Yichun Zhang (agentzh), slightly modified.