Commit 7354ab6
committed
Map ERROR_NETNAME_DELETED to canceled in make_err
IOCP delivers ERROR_NETNAME_DELETED (64) when closesocket()
cancels pending overlapped I/O, despite MSDN documenting
ERROR_OPERATION_ABORTED for that case. This became visible
after SO_UPDATE_CONNECT_CONTEXT was added to ConnectEx sockets,
which caused TLS shutdown tests to receive unmapped error 64.1 parent b6bdaec commit 7354ab6
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
67 | | - | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
0 commit comments