summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 00:15:34 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 00:15:34 +0000
commite92c1a66536dc9f812c3818acaf5605fe028fa9d (patch)
treeb5a26f8042172c95b7af3ea8ea9bf458e0bd5edb /src
parentbd6158e7b044f853be0b493c0ccbfc7a5c05082e (diff)
Windows doesn't need blocking connect, IOCP was the cause of that.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10510 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspsocket.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index ea0534f24..1a88afaca 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -262,11 +262,6 @@ bool BufferedSocket::DoConnect()
Instance->SE->NonBlocking(this->fd);
-#ifdef WIN32
- /* UGH for the LOVE OF ZOMBIE JESUS SOMEONE FIX THIS!!!!!!!!!!! */
- Instance->SE->Blocking(this->fd);
-#endif
-
if (Instance->SE->Connect(this, (sockaddr*)addr, size) == -1)
{
if (errno != EINPROGRESS)
@@ -280,10 +275,7 @@ bool BufferedSocket::DoConnect()
this->Timeout = new SocketTimeout(this->GetFd(), this->Instance, this, timeout_val, this->Instance->Time());
this->Instance->Timers->AddTimer(this->Timeout);
}
-#ifdef WIN32
- /* CRAQ SMOKING STUFF TO BE FIXED */
- Instance->SE->NonBlocking(this->fd);
-#endif
+
this->state = I_CONNECTING;
if (this->fd > -1)
{