-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transports/quic: Refactor listener handling (updated) #19
Commits on Jun 24, 2022
-
core/muxing: Replace
Into<io::Error>
bound onStreamMuxer
with `s……td::error::Error` (libp2p#2710) * core/muxing: Remove `Into<io::Error>` bound from `StreamMuxer::Error` This allows us to preserve the type information of a muxer's concrete error as long as possible. For `StreamMuxerBox`, we leverage `io::Error`'s capability of wrapping any error that implements `Into<Box<dyn Error>>`. * Use `?` in `Connection::poll` * Use `?` in `muxing::boxed::Wrap` * Use `futures::ready!` in `muxing::boxed::Wrap` * Fill PR number into changelog * Put `Error + Send + Sync` bounds directly on `StreamMuxer::Error` * Move `Send + Sync` bounds to higher layers * Use `map_inbound_stream` helper * Update changelog to match new implementation
Configuration menu - View commit details
-
Copy full SHA for 0f40e51 - Browse repository at this point
Copy the full SHA 0f40e51View commit details
Commits on Jun 26, 2022
-
protocols/identify: Extend log message on second identify push (libp2…
…p#2726) Print remote peer ID when seeing a second identify push stream coming in.
Configuration menu - View commit details
-
Copy full SHA for 2c70c59 - Browse repository at this point
Copy the full SHA 2c70c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 072d736 - Browse repository at this point
Copy the full SHA 072d736View commit details
Commits on Jun 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 40744be - Browse repository at this point
Copy the full SHA 40744beView commit details -
Configuration menu - View commit details
-
Copy full SHA for f814b21 - Browse repository at this point
Copy the full SHA f814b21View commit details -
transports/tcp/: Call take_error on tokio TcpStream (libp2p#2725)
Configuration menu - View commit details
-
Copy full SHA for 7190952 - Browse repository at this point
Copy the full SHA 7190952View commit details
Commits on Jun 28, 2022
-
build(deps): Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 (l…
…ibp2p#2731) Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.10.0. - [Release notes](https://github.com/styfle/cancel-workflow-action/releases) - [Commits](styfle/cancel-workflow-action@a40b884...bb6001c) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f7d0fe - Browse repository at this point
Copy the full SHA 9f7d0feView commit details
Commits on Jun 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 423adca - Browse repository at this point
Copy the full SHA 423adcaView commit details
Commits on Jun 30, 2022
-
protocols/gossipsub: Fix a typo in error message (libp2p#2739)
* protocols/gossipsub: Fix a typo in error message * protocols/gossipsub: Make the error message accurately
Configuration menu - View commit details
-
Copy full SHA for 748588e - Browse repository at this point
Copy the full SHA 748588eView commit details
Commits on Jul 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 862ae14 - Browse repository at this point
Copy the full SHA 862ae14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31f1d66 - Browse repository at this point
Copy the full SHA 31f1d66View commit details
Commits on Jul 2, 2022
-
protocols/gossipsub/: Allow custom protocol id (libp2p#2718)
Allow for custom protocol ID via `GossipsubConfigBuilder::protocol_id()`.
Configuration menu - View commit details
-
Copy full SHA for 6db5712 - Browse repository at this point
Copy the full SHA 6db5712View commit details
Commits on Jul 4, 2022
-
protocols/identify: Fix race condition in discover_peer_after_disconn…
…ect (libp2p#2744) **Summary** of the plot of the `discover_peer_after_disconnect` test: 1. `swarm2` connects to `swarm1`. 2. `swarm2` requests an identify response from `swarm1`. 3. `swarm1` sends the response to `swarm2`. 4. `swarm2` disconnects from `swarm1`. 5. `swarm2` tries to disconnect. **Problem** `libp2p-identify` sets `KeepAlive::No` when it identified the remote. Thus `swarm1` might identify` `swarm2` before `swarm2` identified `swarm1`. `swarm1` then sets `KeepAlive::No` and thus closes the connection to `swarm2` before `swarm2` identified `swarm1`. In such case the unit test `discover_peer_after_disconnect hangs indefinitely. **Solution** Add an initial delay to `swarm1` requesting an identification from `swarm2`, thus ensuring `swarm2` is always able to identify `swarm1`.
Configuration menu - View commit details
-
Copy full SHA for b28cdb3 - Browse repository at this point
Copy the full SHA b28cdb3View commit details -
core/src/transport: Poll Transport directly, remove Transport::Listen…
…er (libp2p#2652) Remove the concept of individual `Transport::Listener` streams from `Transport`. Instead the `Transport` is polled directly via `Transport::poll`. The `Transport` is now responsible for driving its listeners.
Configuration menu - View commit details
-
Copy full SHA for 62622a1 - Browse repository at this point
Copy the full SHA 62622a1View commit details
Commits on Jul 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7df6bae - Browse repository at this point
Copy the full SHA 7df6baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2b7cb - Browse repository at this point
Copy the full SHA 2f2b7cbView commit details
Commits on Jul 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d0da3a0 - Browse repository at this point
Copy the full SHA d0da3a0View commit details
Commits on Jul 10, 2022
-
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/mult…
…iple-endpoints-2
Configuration menu - View commit details
-
Copy full SHA for 6b758e3 - Browse repository at this point
Copy the full SHA 6b758e3View commit details -
transports/quic: adapt to transport trait changes
Adapt to the transport changes of libp2p#2652. Note: this is only a draft "to make it work", and not a proper implementation. It does not support listening on multiple addresses. The listening logic with multiple Endpoints will need to be supported for the upstream implementation.
Configuration menu - View commit details
-
Copy full SHA for 5157ea1 - Browse repository at this point
Copy the full SHA 5157ea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57743ef - Browse repository at this point
Copy the full SHA 57743efView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5e5b34 - Browse repository at this point
Copy the full SHA e5e5b34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39d855c - Browse repository at this point
Copy the full SHA 39d855cView commit details -
transports/quic: use intra-doc links in docs
Co-authored-by: Max Inden <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e797cf - Browse repository at this point
Copy the full SHA 0e797cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef7b823 - Browse repository at this point
Copy the full SHA ef7b823View commit details -
Configuration menu - View commit details
-
Copy full SHA for a375524 - Browse repository at this point
Copy the full SHA a375524View commit details -
Configuration menu - View commit details
-
Copy full SHA for 917bccc - Browse repository at this point
Copy the full SHA 917bcccView commit details
Commits on Jul 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5fe3e1c - Browse repository at this point
Copy the full SHA 5fe3e1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 574d534 - Browse repository at this point
Copy the full SHA 574d534View commit details
Commits on Jul 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9e1cc81 - Browse repository at this point
Copy the full SHA 9e1cc81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c41f70 - Browse repository at this point
Copy the full SHA 2c41f70View commit details
Commits on Jul 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1a4b8ac - Browse repository at this point
Copy the full SHA 1a4b8acView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf06d96 - Browse repository at this point
Copy the full SHA bf06d96View commit details