Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nasa#969, socket accept using incorrect record
The OS_SocketAccept call was using the incorrect token, using the server/acceptor socket when it should have used the connection socket. The bug overwrote data in the acceptor socket, but it would only cause an issue when the user attempted to use the server socket to accept a second connection, but the tests only performed a single connection. This also improves the network-api-test to do multiple connections, re-using the same acceptor socket between them.
- Loading branch information