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

This commit is contained in:
Alexandre Julliard 2015-03-16 22:16:50 +09:00
parent df5b8e417f
commit 5db44d15ac
1 changed files with 1 additions and 0 deletions

View File

@ -828,6 +828,7 @@ static int accept_into_socket( struct sock *sock, struct sock *acceptsock )
acceptsock->wparam = 0;
acceptsock->deferred = NULL;
acceptsock->connect_time = current_time;
fd_copy_completion( acceptsock->fd, newfd );
release_object( acceptsock->fd );
acceptsock->fd = newfd;