New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http: TIME_WAIT problem for web server - go.http.Server #5297
Labels
Comments
The fact that sockets in TIME_WAIT are not reclaimed is normal. The TCP specification requires that sockets go in TIME_WAIT state after being closed, usually for about a minute. You cannot reuse a local port number until the socket is gone. The effect of that is that you cannot open many connections from the same machine to the same server in a short timeframe, it's not a Go problem, and it's not a file descriptor problem either. |
Marking this as WontFix since it's not clear that there is anything that can change on the Go side. TIME_WAIT is part of TCP and the kernel, not Go. If you think that this is still a Go problem, please reopen and provide a test case. From the verbal description there is no Go problem, so we'll need to see some code. Status changed to WontFix. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by dragos.constantin.stoica:
The text was updated successfully, but these errors were encountered: