diff options
author | Brian Smith <bsmith@mozilla.com> | 2013-05-06 14:15:08 -0700 |
---|---|---|
committer | Brian Smith <bsmith@mozilla.com> | 2013-05-06 14:15:08 -0700 |
commit | 7c0f0cf343d77d2a1dd9c6adecf11ec3fadf277b (patch) | |
tree | b28f64bfa325f25a6214a1195fb9b882489c0d77 | |
parent | 949c92e806a0fb22e937498dfe7042ce721ab750 (diff) | |
download | nspr-hg-7c0f0cf343d77d2a1dd9c6adecf11ec3fadf277b.tar.gz |
Bug 331169: Remove obsolete Sleep(0) during socket connection on Windows, r=wtc
-rw-r--r-- | pr/src/io/prsocket.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pr/src/io/prsocket.c b/pr/src/io/prsocket.c index ed7b4e43..be970240 100644 --- a/pr/src/io/prsocket.c +++ b/pr/src/io/prsocket.c @@ -288,14 +288,6 @@ static PRStatus PR_CALLBACK SocketConnectContinue( #elif defined(WIN32) || defined(WIN16) -#if defined(WIN32) - /* - * The sleep circumvents a bug in Win32 WinSock. - * See Microsoft Knowledge Base article ID: Q165989. - */ - Sleep(0); -#endif /* WIN32 */ - if (out_flags & PR_POLL_EXCEPT) { int len = sizeof(err); if (getsockopt(osfd, (int)SOL_SOCKET, SO_ERROR, (char *) &err, &len) |