server: Copy completion information for accepted socket into the new file descriptor.
This commit is contained in:
parent
df5b8e417f
commit
5db44d15ac
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue