For HTTP 1.1 with Transfer-Encoding: chunked, the request body is closed if I 
attempt to write part of the response immediately after receiving the first 
chunk which is a big problem if you are doing some kind of streaming operation. 
The following code, reproduces the issue:

https://play.golang.org/p/G8F0X4DQCDn

There seems to be a one-liner fix but is there anyone that can help with this 
issue?

The discussion about this issue can be found here:

https://github.com/golang/go/issues/22209

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to