mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Merge branch 'windows-netreset' into 'master'
gioerror: Map WSAENETRESET on Windows to G_IO_ERROR_CONNECTION_CLOSED See merge request GNOME/glib!1616
This commit is contained in:
commit
0b0b9bfda0
@ -343,6 +343,7 @@ g_io_error_from_win32_error (gint error_code)
|
||||
return G_IO_ERROR_NOT_SUPPORTED;
|
||||
|
||||
case WSAECONNRESET:
|
||||
case WSAENETRESET:
|
||||
case WSAESHUTDOWN:
|
||||
return G_IO_ERROR_CONNECTION_CLOSED;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user