Skip to content

Commit e22df91

Browse files
committed
fix(host): restore write-readiness polling on Windows sleep
Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 992acb6 commit e22df91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

host/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,7 @@ fn hl_sleep_poll_sockets(
18701870
.values()
18711871
.map(|hs| WSAPOLLFD {
18721872
fd: hs.socket.as_raw_socket() as usize,
1873-
events: POLLRDNORM as i16,
1873+
events: (POLLRDNORM | POLLWRNORM) as i16,
18741874
revents: 0,
18751875
})
18761876
.collect();

0 commit comments

Comments
 (0)