Commit 2275df91 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32: handle WSAEINTR correctly, should fix #3101

parent 7fa10ce6
...@@ -328,6 +328,7 @@ net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs, ...@@ -328,6 +328,7 @@ net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs,
switch (WSAGetLastError ()) switch (WSAGetLastError ())
{ {
case WSAEWOULDBLOCK: case WSAEWOULDBLOCK:
case WSAEINTR:
/* only happens with vs != NULL (TLS) - not really an error */ /* only happens with vs != NULL (TLS) - not really an error */
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment