Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a race condition in TCPDeferAcceptTimeout
The test is timing-dependent and it's possible for it to sleep for longer than the TCP_DEFER_ACCEPT timeout. We currently check if this happened after sleeping and skip the test if so, but we call `accept` _after_ this check, so the race still exists. Move the `accept` call to before the check. PiperOrigin-RevId: 650240216
- Loading branch information