forked from libp2p/rust-libp2p
-
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: Adapt QuicMuxer to upstream StreamMuxer changes #6
Closed
Closed
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
7c8a977
swarm/src/handler: Document responsibility limiting inbound streams (…
mxinden d4f8ec2
misc/metrics: Track # connected nodes supporting specific protocol (…
mxinden 1a553db
core/muxing: Flatten `StreamMuxer` interface to `poll_{inbound,outbou…
thomaseizinger e95232c
build(deps): Bump Swatinem/rust-cache from 1.4.0 to 2.0.0 (#2759)
dependabot[bot] 66c2319
transports/tcp: Bump to v0.35.0 (#2760)
mxinden c8066df
*: Update to `if-watch` `1.1.1` (#2754)
tgmichel 163c5c1
README.md: Add crates.io and docs.rs badges (#2766)
LesnyRumcajs 51a8471
build(deps): Update prometheus-client requirement from 0.16.0 to 0.17…
dependabot[bot] f15a3dc
core/muxing: Drop `Unpin` requirement from `SubstreamBox` (#2762)
thomaseizinger 2e2c117
core/tests: Remove unnecessary `Arc` (#2763)
thomaseizinger 95713ab
core: fix PR number in changelog entry (#2769)
elenaf9 f85a990
core/tests: Remove unnecessary util module (#2764)
thomaseizinger c19a211
misc/metrics: fix clippy::assign-op-pattern (#2773)
elenaf9 0ec3bbc
core/muxing: Remove `Unpin` requirement from `StreamMuxer::Substream`…
thomaseizinger 74f01e4
transports/tcp: fix clippy::from-over-into (#2774)
elenaf9 ce963df
core: fix clippy::op-ref, clippy::needless-borrow (#2770)
elenaf9 56c492c
core/muxing: Drop `Sync` requirement for `StreamMuxer` on `StreamMuxe…
thomaseizinger 09c6908
protocols/dcutr: Fix clippy lints (#2772)
elenaf9 eaf3f3a
.cargo: Check all features in custom-clippy (#2771)
elenaf9 7019d49
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/mult…
elenaf9 2b9e212
examples/README.md: Fix tutorial link (#2790)
lukehinds 028dece
core/muxing: Have functions on `StreamMuxer` take `Pin<&mut Self>` (#…
thomaseizinger 07c0dba
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/muxer
elenaf9 57840a3
transports/quic: adapt QuicMuxer to libp2p#2724
elenaf9 579b1be
swarm-derive/: Generate OutEvent if not provided (#2792)
mxinden e2b83b7
SECURITY.md: Document supported releases and security mail addr (#2800)
mxinden 3da8b42
README: Point to security@libp2p.io (#2799)
mxinden 1012579
protocols/: Remove passing default variant to `WithPeerId::condition`…
K0UR05H a4110a2
*: Remove `inject_connected` / `inject_disconnected` from docs (#2805)
K0UR05H 0a01c81
misc/multistream-select: Replace msg.get(0) with msg.first() (#2816)
mxinden 3ce0ef9
transports/quic: apply suggestions from review
elenaf9 3060d12
transports/quic: rename QuicMuxerInner -> Inner
elenaf9 63c6edc
transports/quic: improve poll_{inbound, outbound}
elenaf9 06aaea6
*: Fix `clippy::derive-partial-eq-without-eq` (#2818)
elenaf9 cef5056
core/muxing: Generalise `StreamMuxer::poll_address_change` to `poll` …
thomaseizinger 0e5a25d
examples/file-sharing: Support binary files (#2786)
qidu 878c49f
swarm/src/behaviour: Deprecate NetworkBehaviourEventProcess (#2784)
mxinden 6a9fa3d
build(deps): Update prost requirement from 0.10 to 0.11 (#2788)
dependabot[bot] 8dc0188
swarm/src/connection: Test max_negotiating_inbound_streams (#2785)
mxinden 67266c6
swarm-derive/: Add where clause of behaviour to generated out event (…
mxinden d2c5053
build(deps): Update prometheus-client requirement from 0.17.0 to 0.18…
dependabot[bot] a2738fd
swarm-derive/: Derive Debug for generated OutEvent (#2821)
mxinden 475289c
docs/coding-guidelines: Add document (#2780)
mxinden 8931860
core/identity: Allow clippy::large-enum-variant on `Keypair` (#2827)
elenaf9 1aeaba3
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/muxer
elenaf9 95fc6da
transports/quic: drive connection in `QuicMuxer::poll`
elenaf9 3d3666e
*: Enforce no clippy warnings for examples (#2826)
thomaseizinger 217dd2c
clippy.toml: Create config and disallow unbounded channels (#2823)
mxinden 0d7c8a5
transports/quic: refactor `Connection::poll_event`
elenaf9 67b52aa
transports/quic: rm `Connection::is_handshaking`
elenaf9 66974fc
transports/quic: refactor connection closing
elenaf9 4253080
*: Prepare v0.47.0 (#2830)
mxinden c88efe8
transports/quic: rm mutex around to_endpoint tx
elenaf9 0a82be4
transports/quic/tests: drive peers concurrently
elenaf9 d610e4b
protocols/dcutr: Disable `libp2p-core` default features (#2836)
elenaf9 d92cab8
build(deps): Update p256 requirement from 0.10.0 to 0.11.0 (#2636)
dependabot[bot] ca07ce4
swarm/behaviour: Remove deprecated NetworkBehaviourEventProcess (#2840)
mxinden a3dec47
docs/coding-guidelines: Document limit on number of tasks (#2839)
mxinden 247b553
swarm-derive/: Remove support for custom poll method (#2841)
mxinden 6855ab9
swarm-derive/: Remove support for ignoring fields on struct (#2842)
mxinden e01f77b
transports/noise: Migrate away from deprecated `sodiumoxide` for test…
pinkforest f16561c
.github/workflows: Split advisory issues from PR workflows using `car…
pinkforest 36a2773
*: Update changelogs for prost dep update (#2851)
divagant-martian 89f898c
protocols/mdns: Allow users to choose between async-io and tokio runt…
gallegogt cee199a
protocols/kad: Support multiple protocol names (#2846)
dmitry-markin f04df29
.git-blame-ignore-revs/: Initialize and add rustfmt commit (#2864)
thomaseizinger b8c3b28
protocols/gossipsub: Allow publishing to anything that implements `In…
GamePad64 a40180c
.github/: Introduce interop tests (#2835)
laurentsenta 8644c65
core/: Introduce `rsa` feature flag to avoid `ring` dependency (#2860)
GamePad64 2eca38c
core/upgrade/: Add `ReadyUpgrade` (#2855)
thomaseizinger d2eddf4
muxers/yamux: Remove `OpenSubstreamToken` (#2873)
thomaseizinger 83c6795
*: Prepare v0.48.0 (#2869)
mxinden c650dc1
*: Replace _serde with dep:serde in Cargo.toml (#2868)
GamePad64 69caf98
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/muxer
elenaf9 fe3e09b
transports/quic: upgrade to if-watch v2.0.0
elenaf9 b6924db
transports/quic: fix clippy
elenaf9 689460f
transports/quic: fix smoke test
elenaf9 457fb51
transports/tcp: Simplify IfWatcher integration (#2813)
elenaf9 41d39fb
transports/quic: add `Endpoint::try_send`
elenaf9 66c2755
swarm/: Fix rare test failure of `multiple_addresses_err` (#2882)
thomaseizinger 72bade1
build(deps): Update env_logger to 0.9 and criterion to 0.4 (#2896)
kpp 5906140
protocols/kad: Remove deprecated `set_protocol_name()` (#2866)
dmitry-markin 2c739e9
protocols/noise: Introduce `NoiseAuthenticated::xx` constructor with …
thomaseizinger c81b06a
*: Fix various clippy warnings (#2900)
umgefahren 2025de3
swarm-derive/: Allow for templated behaviours (#2907)
thomaseizinger 4c617a0
subscribe
elenaf9 4e027b1
transports/quic: handle substream being dropped
elenaf9 bdba780
transports/quic: return err on read after reset
elenaf9 40cb4f3
transports/quic: apply comments from code review
elenaf9 f8d1430
transports/quic: better naming, fix docs
elenaf9 4c3229b
transports/quic: add doc for `Endpoint:try_send`
elenaf9 e393fe5
transports/quic: add `ip_to_listenaddr`
elenaf9 d28db18
transports/quic: disable connection migration
elenaf9 42db0ed
transports/quic: minor fix
elenaf9 d46b72e
transports/quic: minor fixes
elenaf9 ec3c74a
transports/quic: rework forwarding of new connections
elenaf9 b7103aa
transports/quic: fix broken intra-doc link
elenaf9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the docs, this only closes the write-side. If that is the case, perhaps
close
orclose_write
would be a better name?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I prefer to stick with
finish_substream
because it is consistent if the name of the event it producesquinn_proto::StreamEvent::Finished
/ConnectionEvent::StreamFinished
.But not a strong opinion, happy to change it to
close_write
if you insist :)