connect() on a socket that failed first connect should succeed.
Open
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
Assessment
This issue has not been assessed yet.