]> Cypherpunks repositories - gostls13.git/commit
http: Client test for streaming responses (no code changes)
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 24 May 2011 16:02:01 +0000 (09:02 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 24 May 2011 16:02:01 +0000 (09:02 -0700)
commitb32ad8bff5be1170e044d6a7a9e34f56e1990ce9
tree0e25943499d41df3b92e6a2db1d1af6eeba09902
parent3933cb2371d6a0ffbd5d6bb47435bde4006fb917
http: Client test for streaming responses (no code changes)

I had a report that this was broken. It seems fine.

I think the reporter was just never flushing their response
headers.  If I omit the test server's initial Flush I get the
same behavior as reported. (a hang at Client.Get)

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4552062
src/pkg/http/client_test.go