-
Notifications
You must be signed in to change notification settings - Fork 323
feat!: make Connection::remote_id and Connection::alpn infallible
#3556
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
Merged
Merged
Changes from 21 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4c58778
feat: make `Connection::remote_id` and `Connection::alpn` infallible
8eaeeb1
maybe add fallible connection struct
710adbf
refactor: clean up some code
df1ca8a
refactor: `ZeroRttConnection::into_connection`
84e59c3
refactor: try `ZeroRttServerConn` and `ZeroRttClientConn` API
758cd12
chore: codespell and docs
abf6ae7
refactor: adjustment to converting quinn::Connection to Connection
3f0defa
docs
681e879
refactor: move all `Connection`, `Connecting`, etc definitions from `…
6442fa4
chore: fmt docs clean up
44e813f
Update iroh/src/endpoint/connection.rs
ramfox ad879c0
Update iroh/src/endpoint/connection.rs
ramfox 4015bc2
refactor: `conn_from_quinn_conn_dangerous` -> `conn_from_quinn_conn`
f364864
refactor: remote `Incoming::accept_0rtt` add `ZeroRttConnection` enum…
826d5ae
Introduce `Accepting` and remove `enum ZeroRttConnection`
matheus23 738fe6c
Introduce `ConnectingError` and return it for `Connection` conversion…
matheus23 92a47c5
Fix type errors
matheus23 f745e62
refactor `ZeroRttServerConnection` to `ZeroRttInConn` and `ZeroRttCli…
5835b47
refactor: `ZeroRttOutConn` to `OutgoingZeroRttConnection`, `ZeroRttIn…
5994ce3
refactor: rename `QuinnConnectionError` -> `AuthenticationError`
5570e1e
Merge branch 'main' into ramfox/infallible-remote-id
ramfox 2c13887
refactor: 0rtt example
d854f84
test: loop `test_0rtt_after_server_restart`
307bfa7
Merge remote-tracking branch 'origin/main' into ramfox/infallible-rem…
Frando 75cdf37
fix: fixes after n0-error merge
Frando 529b0d6
fix: connect/accept futs have stack error
Frando 68363a1
fix: remove call to `try_send_rtt_msg` in `Accepting::into_0rtt`, it …
862fb17
tests: make test fail reliably
Frando a1b42d4
fixup
Frando e53f8a7
improve logging spans and error context
Frando d067554
fix: ensure the underlying quinn connection did not close before conv…
a3203e0
test: add tracing logs back to `test_0rtt_after_server_restart` test
b1c42ef
test: remove loop, seems to be failing on first loop anyway
d3c9600
test: remove relay-only code from server restart test
742104b
Restructure `spawn_0rtt_server` a bit.
matheus23 b60b1ec
Adjust doc comments for `handshake_completed` fns
matheus23 66fb812
Merge branch 'main' into ramfox/infallible-remote-id
dignifiedquire 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.