| ... | @@ -12939,7 +12939,8 @@ fn netReadWindows(socket_handle: net.Socket.Handle, data: [][]u8) net.Stream.Rea | ... | @@ -12939,7 +12939,8 @@ fn netReadWindows(socket_handle: net.Socket.Handle, data: [][]u8) net.Stream.Rea |
| 12939 | .SUCCESS => return iosb.Information, | 12939 | .SUCCESS => return iosb.Information, |
| 12940 | .CANCELLED => unreachable, | 12940 | .CANCELLED => unreachable, |
| 12941 | .INSUFFICIENT_RESOURCES => return error.SystemResources, | 12941 | .INSUFFICIENT_RESOURCES => return error.SystemResources, |
| 12942 | .CONNECTION_RESET => return error.ConnectionResetByPeer, | 12942 | .CONNECTION_RESET, .REMOTE_DISCONNECT => return error.ConnectionResetByPeer, |
| | 12943 | .IO_TIMEOUT => return error.ConnectionTimedOut, |
| 12943 | else => |status| return windows.unexpectedStatus(status), | 12944 | else => |status| return windows.unexpectedStatus(status), |
| 12944 | } | 12945 | } |
| 12945 | } | 12946 | } |
| ... | @@ -13448,7 +13449,8 @@ fn netWriteWindows( | ... | @@ -13448,7 +13449,8 @@ fn netWriteWindows( |
| 13448 | .SUCCESS => return iosb.Information, | 13449 | .SUCCESS => return iosb.Information, |
| 13449 | .CANCELLED => unreachable, | 13450 | .CANCELLED => unreachable, |
| 13450 | .INSUFFICIENT_RESOURCES => return error.SystemResources, | 13451 | .INSUFFICIENT_RESOURCES => return error.SystemResources, |
| 13451 | .CONNECTION_RESET => return error.ConnectionResetByPeer, | 13452 | .CONNECTION_RESET, .REMOTE_DISCONNECT => return error.ConnectionResetByPeer, |
| | 13453 | .IO_TIMEOUT => return error.ConnectionTimedOut, |
| 13452 | else => |status| return windows.unexpectedStatus(status), | 13454 | else => |status| return windows.unexpectedStatus(status), |
| 13453 | } | 13455 | } |
| 13454 | } | 13456 | } |