SlyMarbo / spdy

[deprecated] A full-featured SPDY library for the Go language.
BSD 2-Clause "Simplified" License
116 stars 13 forks source link

Client reads body fully into bytes.Buffer, does not stream #63

Closed tv42 closed 10 years ago

tv42 commented 10 years ago

I'm not 100% sure if I'm reading the code right, but it seems that Response.Body is always a bytes.Buffer that gets fully populated before the client can start reading; this means downloading a 10TB file via this spdy client will be.. a disappointing experience.

It seems the Receiver API might be enough to implement this, but of course just behaving like net/http would be better.

SlyMarbo commented 10 years ago

Yes, I see what you mean now. I'm looking into various solutions.