Commit dbe77888 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

server: Signal AFD_POLL_BIT_WRITE at the same time as AFD_POLL_BIT_CONNECT.

parent 84663627
......@@ -1293,7 +1293,10 @@ static void sock_dispatch_events( struct sock *sock, enum connection_state prevs
case SOCK_CONNECTING:
if (event & POLLOUT)
{
post_socket_event( sock, AFD_POLL_BIT_CONNECT );
post_socket_event( sock, AFD_POLL_BIT_WRITE );
}
if (event & (POLLERR | POLLHUP))
post_socket_event( sock, AFD_POLL_BIT_CONNECT_ERR );
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment