google / google/gvisor

connect() on a socket that failed first connect should succeed.

Open
#3,828 4 comments 0 reactions 0 assignees View on GitHub
area: compatibility area: networking revived type: bug
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

In linux connect() can be called again on a TCP socket if the first call to connect() failed. In gvisor this does not work today as we move the endpoint to StateError and we consider a socket unusable once its in StateError/StateClose.

Opening this here to see if we should address this at some point, Its doubtful well behaved apps rely on this behaviour.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.