skynetservices/skynet — pull request #206 by jbaikge (2013-06-18 00:59:34+00:00)
Title: Fix for corrupted error from large bson packets

Fixes the following errors present in skynet clients:

* net/rpc/client.go:164: rpc: client protocol error: Document is corrupted
* error: Error calling sr.rpcClient.Call: reading body Document is corrupted

Thanks to @zeebo for spotting this and knowing about io.ReadFull()