rust-libp2p icon indicating copy to clipboard operation
rust-libp2p copied to clipboard

feat(ping): make the ignoring of the first error configurable

Open stormshield-frb opened this issue 2 years ago • 0 comments

Description

Be able to configure, the fact to ignore or not the first error of ping::Handler::poll.

Motivation

In our project, we need to rapidly detect that an error may have occurred with ping. However, like it is described here, for interoperability reasons with the Javascript libp2p, the first error is silenced. We personally don't use the Javascript implementation so we would like to be able to catch the first error.

Current Implementation

There is no need to not ignore the first error.

Are you planning to do it yourself in a pull request ?

Yes

stormshield-frb avatar Dec 11 '23 13:12 stormshield-frb