After accept is called on the socket, the listening socket needs to be
reselected.
This commit is contained in:
parent
c0e3db958d
commit
21b099f082
|
@ -355,6 +355,7 @@ static struct object *accept_socket( int handle )
|
|||
clear_error();
|
||||
sock->pmask &= ~FD_ACCEPT;
|
||||
sock->hmask &= ~FD_ACCEPT;
|
||||
sock_reselect( sock );
|
||||
release_object( sock );
|
||||
return &acceptsock->obj;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue