Closed sunglim closed 11 months ago
Reference: https://stackoverflow.com/questions/28046100/golang-http-concurrent-requests-post-eof
The app runs multiple goroutine concurrently. If one connection is not completed closed, the connection could be reused. Because go by default use Connection: Keep-Alive
.
However, if the server close the connection with Connection: Keep-Alive
. the next request receives EOF
.