mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-13 12:56:15 +01:00
Merge branch 'master' into 'master'
Windows: fix FD_READ condition flag still set on recoverable UDP socket errors. See merge request GNOME/glib!1827
This commit is contained in:
commit
7ad7f55888
@ -5475,10 +5475,10 @@ g_socket_receive_message_with_timeout (GSocket *socket,
|
|||||||
if (errsv == WSAEINTR)
|
if (errsv == WSAEINTR)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
win32_unset_event_mask (socket, FD_READ);
|
||||||
|
|
||||||
if (errsv == WSAEWOULDBLOCK)
|
if (errsv == WSAEWOULDBLOCK)
|
||||||
{
|
{
|
||||||
win32_unset_event_mask (socket, FD_READ);
|
|
||||||
|
|
||||||
if (timeout_us != 0)
|
if (timeout_us != 0)
|
||||||
{
|
{
|
||||||
if (!block_on_timeout (socket, G_IO_IN, timeout_us,
|
if (!block_on_timeout (socket, G_IO_IN, timeout_us,
|
||||||
|
Loading…
Reference in New Issue
Block a user