Module: wine Branch: master Commit: dbe7788817a6e0192ce953e6b9a32d8e9318d2df URL: https://gitlab.winehq.org/wine/wine/-/commit/dbe7788817a6e0192ce953e6b9a32d8...
Author: Zebediah Figura zfigura@codeweavers.com Date: Thu Aug 24 21:08:25 2023 -0500
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
---
server/sock.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/server/sock.c b/server/sock.c index 7e8192f82a6..b63412ab216 100644 --- a/server/sock.c +++ b/server/sock.c @@ -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;