-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: requests with "Transfer-Encoding: chunked" body may buffer small chunks #6574
Comments
My proposed fix is to flush the wire after writing each chunk if the wire is a bufio.Writer: https://golang.org/cl/14438065 |
Too late for Go 1.2 (not a regression, either), and probably not the right change. Best might be an option on the Transport, since there's nowhere to add an optional Flush method, and changing this behavior for all bufio.Writers isn't correct. Labels changed: added go1.3maybe, removed priority-triage. Status changed to Thinking. |
Is there a known workaround for this issue? |
No. There are several easy fixes. I'm debating which I like the most. I'll try to get one into 1.5. |
Ok thanks. So I take it I can't do any workarounds for this that doesn't involve patching the stdlib then? |
There are no workarounds. |
CL https://golang.org/cl/10021 mentions this issue. |
Awesome! I'll be sure to try HEAD if this gets merged in :) On Wed, May 13, 2015 at 1:00 PM, GopherBot [email protected] wrote:
|
The text was updated successfully, but these errors were encountered: