diff --git a/server/named_pipe.c b/server/named_pipe.c index 1651a67ff46..c4d1993b3c4 100644 --- a/server/named_pipe.c +++ b/server/named_pipe.c @@ -605,7 +605,7 @@ static obj_handle_t pipe_server_ioctl( struct fd *fd, ioctl_code_t code, const a { case ps_idle_server: case ps_wait_connect: - if (blocking) + if (blocking && !is_overlapped( get_fd_options(fd) )) { async_data_t new_data = *async_data; if (!(wait_handle = alloc_wait_event( current->process ))) break;