| ... | @@ -13079,7 +13079,7 @@ fn netReadWindows(socket_handle: net.Socket.Handle, data: [][]u8) net.Stream.Rea | ... | @@ -13079,7 +13079,7 @@ fn netReadWindows(socket_handle: net.Socket.Handle, data: [][]u8) net.Stream.Rea |
| 13079 | .SUCCESS => return iosb.Information, | 13079 | .SUCCESS => return iosb.Information, |
| 13080 | .CANCELLED => unreachable, | 13080 | .CANCELLED => unreachable, |
| 13081 | .INSUFFICIENT_RESOURCES => return error.SystemResources, | 13081 | .INSUFFICIENT_RESOURCES => return error.SystemResources, |
| 13082 | .CONNECTION_RESET, .REMOTE_DISCONNECT => return error.ConnectionResetByPeer, | 13082 | .CONNECTION_RESET, .REMOTE_DISCONNECT, .LOCAL_DISCONNECT => return error.ConnectionResetByPeer, |
| 13083 | .IO_TIMEOUT => return error.ConnectionTimedOut, | 13083 | .IO_TIMEOUT => return error.ConnectionTimedOut, |
| 13084 | else => |status| return windows.unexpectedStatus(status), | 13084 | else => |status| return windows.unexpectedStatus(status), |
| 13085 | } | 13085 | } |
| ... | @@ -13593,7 +13593,7 @@ fn netWriteWindows( | ... | @@ -13593,7 +13593,7 @@ fn netWriteWindows( |
| 13593 | .SUCCESS => return iosb.Information, | 13593 | .SUCCESS => return iosb.Information, |
| 13594 | .CANCELLED => unreachable, | 13594 | .CANCELLED => unreachable, |
| 13595 | .INSUFFICIENT_RESOURCES => return error.SystemResources, | 13595 | .INSUFFICIENT_RESOURCES => return error.SystemResources, |
| 13596 | .CONNECTION_RESET, .REMOTE_DISCONNECT => return error.ConnectionResetByPeer, | 13596 | .CONNECTION_RESET, .REMOTE_DISCONNECT, .LOCAL_DISCONNECT => return error.ConnectionResetByPeer, |
| 13597 | .IO_TIMEOUT => return error.ConnectionTimedOut, | 13597 | .IO_TIMEOUT => return error.ConnectionTimedOut, |
| 13598 | else => |status| return windows.unexpectedStatus(status), | 13598 | else => |status| return windows.unexpectedStatus(status), |
| 13599 | } | 13599 | } |