-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Quic update identity #33865
Merged
ryleung-solana
merged 33 commits into
solana-labs:master
from
ryleung-solana:quic-update-identity-new
Dec 8, 2023
Merged
Quic update identity #33865
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
0471a4e
Initial work
ryleung-solana f583dc1
Fix problems from bad merge
ryleung-solana 573b53d
Wire some stuff up
ryleung-solana b2e6b70
Wire more stuff up
ryleung-solana 2e179ab
Wire more stuff up
ryleung-solana 4a9d1f8
Clear connection cache when updating the self-signed key
ryleung-solana 8588396
Testing changes to confirm the key is updated
ryleung-solana 6bcf8a3
Using info for the debug logs
ryleung-solana 5eb1855
Fix clippy and formatting issues
ryleung-solana a5fe8b9
Fix test compilation
ryleung-solana ec3dd44
Fix more tests
ryleung-solana d49902d
Attempt to fix sbf compilation error
ryleung-solana 9da6c41
Try to fix CI
ryleung-solana fa08f91
Revert "Using info for the debug logs"
ryleung-solana dc8edb6
Revert "Testing changes to confirm the key is updated"
ryleung-solana e5e60c7
Re-delete ConnectionMap
ryleung-solana 12ba595
Revert "Fix more tests"
ryleung-solana e6f2991
Revert "Fix test compilation"
ryleung-solana 0f69b45
Re-fix tests
ryleung-solana 3d716b0
Fix more tests
ryleung-solana 5b56526
Log errors updating the Quic client key
ryleung-solana ca0d922
Bubble up errors from updating keypair
ryleung-solana 48c9cf3
Fix dumb merge error
ryleung-solana 95104f3
Use struct rather than tuple
ryleung-solana d9fe30e
Add comment
ryleung-solana 2afb6de
Remove misc unnecessary changes
ryleung-solana c7b7197
Re-fix formatting
ryleung-solana d253d3a
Misc cleanup
ryleung-solana 32312bc
Add missing implementation
ryleung-solana 0093a69
Use separate method to update just the keypair
ryleung-solana bf8a2ca
Remove a lock from ConnectionCache
ryleung-solana f2a0d74
Move notify pointers for NotifyKeyUpdate to simplify Validator::new i…
ryleung-solana ddd1efb
Remove unnecessary clones
ryleung-solana 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
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
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
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.
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.
This update works only when a new connection pool is created. How do we have handle existing connection cached?
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.
See connection-cache/src/connection_cache.rs line 141
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 understand that, but I think it won't fix the existing connection's endpoints. We would similar things you did to the server side: like