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: buffer before chunking #2357
Labels
Milestone
Comments
Related, and probably in the same CL: If the total output from the Handler is less than the bufio Writer size (~4KB), but the Handler never set a Content-Length, add the Content-Length. And bonus: write the headers + small content all out together, corking before & uncorking after. I suspect we're sending way too many packets right now for small responses. |
Sent out https://golang.org/cl/6964043 |
This issue was closed by revision bef4cb4. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: