Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: try avoid the "address already in use" error (#8842)
Replace defer l.Close() with l.Close() to shutdown the listener as fast as possible to avoid the "bind: address already in use" error that so often occurs in CI build. From: phayes/freeport#8 Reference: #6671 Co-authored-by: Amaury <[email protected]>
- Loading branch information