Don't close the underlying socket. Not sure yet when I should close a

socket that hasn't returned an error.  Maybe that's the client's job.
This commit is contained in:
ehouse 2005-09-05 15:45:22 +00:00
parent 15bd397f96
commit 912859be39

View file

@ -127,7 +127,7 @@ XWThreadPool::CloseSocket( int socket )
++iter;
}
}
close( socket );
/* close( socket ); */
/* if ( do_interrupt ) { */
/* We always need to interrupt the poll because the socket we're closing
will be in the list being listened to. That or we need to drop sockets