fix: don't drop bytes in the insecure transport
gogo's varint reader buffers internally. If you use it then throw it away, you'll drop data. This commit reverts to using msgio, but uses the varint reader/writers instead.
Showing
... | ... | @@ -8,6 +8,7 @@ require ( |
github.com/jbenet/goprocess v0.1.4 | ||
github.com/libp2p/go-buffer-pool v0.0.2 | ||
github.com/libp2p/go-flow-metrics v0.0.3 | ||
github.com/libp2p/go-msgio v0.0.4 | ||
github.com/libp2p/go-openssl v0.0.4 | ||
github.com/minio/sha256-simd v0.1.1 | ||
github.com/mr-tron/base58 v1.1.3 | ||
... | ... |
Please register or sign in to comment