diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-06-14 12:05:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-06-14 12:05:20 +0000 |
commit | 2b34d4e1f750c2b7db466e85abe582191f439109 (patch) | |
tree | 6d8ae4890cf6c7aa6dff6d65e856e36f8ad99742 /lib | |
parent | c7aa095fac22149047caadb02faa7503e65d5a01 (diff) |
- Yarram Sunil found out that the SocketIsDead() function performed a lot
faster on Windows when removing the 1 microsecond timeout.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 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) |