gvisor/pkg/tcpip/sample/tun_tcp_echo
Bhasker Hariharan b69352245a Fix Accept to not return error for sockets in accept queue.
Accept on gVisor will return an error if a socket in the accept queue was closed
before Accept() was called. Linux will return the new fd even if the returned
socket is already closed by the peer say due to a RST being sent by the peer.

This seems to be intentional in linux more details on the github issue.

Fixes #3780

PiperOrigin-RevId: 329828404
2020-09-02 18:21:47 -07:00
..
BUILD Standardize on tools directory. 2020-01-27 12:21:00 -08:00
main.go Fix Accept to not return error for sockets in accept queue. 2020-09-02 18:21:47 -07:00