Commit 429e624c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Winsock seems to timeout half-closed TCP sockets.

parent dfdb6edd
...@@ -505,8 +505,8 @@ static int pipe (int fd[2]) ...@@ -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;
......
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