this->OnClose();
shutdown(this->fd,2);
close(this->fd);
+
+ if (Instance->SocketCull.find(this) == Instance->SocketCull.end())
+ Instance->SocketCull[this] = this;
}
errno = save;
}
#else
this->SetState(I_CONNECTED);
#endif
+ Instance->Log(DEBUG,"Inspsocket I_CONNECTING state");
if (Instance->Config->GetIOHook(this))
{
+ Instance->Log(DEBUG,"Hook for raw connect");
try
{
Instance->Config->GetIOHook(this)->OnRawSocketConnect(this->fd);