mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 18:58:29 +00:00
server: Signal AFD_POLL_BIT_WRITE at the same time as AFD_POLL_BIT_CONNECT.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=55333
This commit is contained in:
parent
846636274f
commit
dbe7788817
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue