commit | 2a2247ce5e1984eb2f2c41b269b38dbb795a60cf | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yury@magic.io> | Sat Jan 27 17:22:01 2018 -0500 |
committer | GitHub <noreply@github.com> | Sat Jan 27 17:22:01 2018 -0500 |
tree | 218825a29cd6a02cf471c04d79bfb4252da606f9 | |
parent | 47c0b1f7d4115e6f15e6776c1f91d28e7d96fe0c [diff] |
bpo-32622: Normalize ENOTCONN to ConnectionError on macOS (GH-5369) On mac, sendfile throws ENOTCONN on a repeated sendfile call if the connection is closed. Normalize it to behave like other systems.