mirror of
https://github.com/curl/curl.git
synced 2026-04-30 15:57:50 +03:00
- Yarram Sunil found out that the SocketIsDead() function performed a lot
faster on Windows when removing the 1 microsecond timeout.
This commit is contained in:
parent
c7aa095fac
commit
2b34d4e1f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue