Commit 5db44d15 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Copy completion information for accepted socket into the new file descriptor.

parent df5b8e41
...@@ -828,6 +828,7 @@ static int accept_into_socket( struct sock *sock, struct sock *acceptsock ) ...@@ -828,6 +828,7 @@ static int accept_into_socket( struct sock *sock, struct sock *acceptsock )
acceptsock->wparam = 0; acceptsock->wparam = 0;
acceptsock->deferred = NULL; acceptsock->deferred = NULL;
acceptsock->connect_time = current_time; acceptsock->connect_time = current_time;
fd_copy_completion( acceptsock->fd, newfd );
release_object( acceptsock->fd ); release_object( acceptsock->fd );
acceptsock->fd = newfd; acceptsock->fd = newfd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment