Thomas Eizinger

Results 368 issues of Thomas Eizinger

This is a first stab at #391. I've not looked at the mock-instant now but I'd assume that this can now be deleted and the tests written in a better...

In addition to `time_since_last_handshake`, expose a `time_since_last_received`. This is useful to know downstream because it allows applications to react to connectivity problems. Keepalive packets will update this timer. As soon...

This library is basically SANS-IO except for calls to `Instant::now`. I was wondering what the appetite is for changing that? - APIs like `encapsulate` and `decapsulate` should likely take an...

This is to make the access of the `sessions` array a bit safer by only using the modulo operation within those accessors.

I've found it to be very surprising behaviour that `poll_flush` on a `Sender` returns `Poll::Ready` despite the channel not being empty. This PR attempts to fix this by checking the...

A-channel

At the moment, calling `finish` on a stream that has been stopped by the remote fails. This can lead to weird race conditions in application protocols. I added a test...

### Description With https://github.com/libp2p/rust-libp2p/pull/4371 merged, we have the foundation of https://github.com/libp2p/rust-libp2p/issues/4302 implemented. `libp2p-mdns` needs to be extended to emit this new event whenever it discovers a new address via mDNS....

difficulty:easy
help wanted

## Description Instead of specifying a feature matrix manually, use `cargo-hack` to run through an entire matrix of features for the `libp2p` crate. ## Notes & open questions ## Change...

### Description With https://github.com/libp2p/rust-libp2p/pull/4371 merged, we have the foundation of https://github.com/libp2p/rust-libp2p/issues/4302 implemented. `libp2p-kad` needs to be extended to emit this new event whenever it discovers a new address through the...

difficulty:easy
help wanted

### Description With https://github.com/libp2p/rust-libp2p/pull/4371 merged, we have the foundation of https://github.com/libp2p/rust-libp2p/issues/4302 implemented. `libp2p-rendezvous` needs to be extended to emit this new event whenever it discovers a new address of a...

difficulty:easy
help wanted