server: Overlapped named pipes are never blocking, even if no APC was specified.

This commit is contained in:
Alexandre Julliard 2009-03-02 20:33:52 +01:00
parent 88d9210dd7
commit 9dd3fe5467

View file

@ -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;