docker / libchan

Like Go channels over the network
Apache License 2.0
2.47k stars 142 forks source link

Calling Send() with large objects errors out in the spdy implementation #65

Open BrianBland opened 9 years ago

BrianBland commented 9 years ago

The spdy channel.Send method will return a spdy.InvalidDataFrame error if the serialized size of the message is greater than 16MB (the spdy max data frame size). This could be fixed with a combination of automatic data frame chunking (https://github.com/docker/spdystream/issues/31) and using the underlying spdystream object as an io.Reader for msgpack deserialization on the Receive side.