libp2p / cpp-libp2p

C++17 implementation of libp2p
Apache License 2.0
364 stars 99 forks source link

Let varint reader propagate the error #152

Closed igor-egorov closed 3 years ago

igor-egorov commented 3 years ago

An error may happen about the network stream. Previously the error was silently substituted with the generic varint error. Now the actual error will be propagated to the calling code.