Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #37413 - Let the kernel assign a TCP port in tests
This binds on port 0, which lets the kernel decide which port to use. The port is then read back from the listener. Because the kernel knows which ports it's allowed to bind to, it removes the risk of a failure due to collisions or policies.
- Loading branch information