server: Don't delay events, we simply shouldn't send them in the first place.
This commit is contained in:
parent
0b251c08f2
commit
93db86a7e0
|
@ -260,9 +260,7 @@ static void sock_wake_up( struct sock *sock )
|
|||
unsigned int events = sock->pmask & sock->mask;
|
||||
int i;
|
||||
|
||||
/* Do not signal events if there are still pending asynchronous IO requests */
|
||||
/* We need this to delay FD_CLOSE events until all pending overlapped requests are processed */
|
||||
if ( !events || async_queued( sock->read_q ) || async_queued( sock->write_q ) ) return;
|
||||
if ( !events ) return;
|
||||
|
||||
if (sock->event)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue