Implement new CloseWrite/CloseRead interface
Close now closes the stream in both directions while CloseRead discards inbound bytes and CloseWrite sends an EOF. This matches the user's expectation where Close actually closes the stream. part of https://github.com/libp2p/go-libp2p-core/pull/166
Showing
... | ... | @@ -7,6 +7,7 @@ require ( |
github.com/libp2p/go-libp2p-testing v0.1.2-0.20200422005655-8775583591d8 | ||
github.com/multiformats/go-varint v0.0.6 | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
go.uber.org/multierr v1.5.0 | ||
go.uber.org/zap v1.15.0 // indirect | ||
golang.org/x/crypto v0.0.0-20190618222545-ea8f1a30c443 // indirect | ||
google.golang.org/grpc v1.28.1 | ||
... | ... |
Please register or sign in to comment