Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: should writeLoop flush data after writing the request? #33899
What version of Go are you using (
It does this intentionally so requests with a slow/deferred Request.Body don't deadlock. I could dig through the git blame/history to link you to previous bugs with more detail, but you could too, so feel free to do so and add some notes here.
I'm going to close this, as this seemed to just be a question and not a bug report.