1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-10 19:05:07 +02:00

Winsock seems to timeout half-closed TCP sockets.

This commit is contained in:
Rémi Denis-Courmont 2008-02-13 17:53:52 +00:00
parent dfdb6edd68
commit 429e624c65

View File

@ -505,8 +505,8 @@ static int pipe (int fd[2])
goto error; goto error;
closesocket (l); closesocket (l);
shutdown (a, 0); //shutdown (a, 0);
shutdown (c, 1); //shutdown (c, 1);
fd[0] = c; fd[0] = c;
fd[1] = a; fd[1] = a;
return 0; return 0;