Commit 2b34d4e1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

- Yarram Sunil found out that the SocketIsDead() function performed a lot

  faster on Windows when removing the 1 microsecond timeout.
parent c7aa095f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1101,7 +1101,7 @@ static bool SocketIsDead(int sock)
  FD_SET(sock,&check_set); 

  to.tv_sec = 0; 
  to.tv_usec = 1; 
  to.tv_usec = 0; 

  sval = select(sock + 1, &check_set, 0, 0, &to);
  if(sval == 0)