-
Notifications
You must be signed in to change notification settings - Fork 290
feat(iroh-net): allow the underlying UdpSockets to be rebound #2946
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 34 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a5a7526
wip: rebinding socket functionality
dignifiedquire e435086
wip test
dignifiedquire c343e0e
simplify iopoller
dignifiedquire df8c966
fixup basic test and impl
dignifiedquire 02ff112
cleanup
dignifiedquire 175d69c
reduce cloning and add `rebind` method to UdpConn
dignifiedquire 2d34517
locking is hard
dignifiedquire 082e948
start handling read errors
dignifiedquire e90d182
fix: hold locks for less time
dignifiedquire c814284
move rebind call
dignifiedquire 9441b27
handle read and write erros
dignifiedquire c09f6dd
handle errors in udp_conn as well
dignifiedquire d13879b
fix: handle spurious wakeups in udp_conn
dignifiedquire d698980
and another one
dignifiedquire eff40de
fixup clippy
dignifiedquire dce54e2
spelling fix
dignifiedquire 6847d2d
rebind sockets on major network changes
dignifiedquire 84741ba
actually shut down sockets
dignifiedquire 914d5ef
why can't we have nice things?
dignifiedquire 1b763d9
fix error handling
dignifiedquire bf71e08
refactor: move quinn_udp logic into udpsockert
dignifiedquire dd7428d
fix: use try_io
dignifiedquire 2150035
waky waky
dignifiedquire d24ab72
Simpler regression test case
matheus23 6a0212c
use atomic waker, and register properly
dignifiedquire 95f29c8
fixup
dignifiedquire 6194890
some more cleanup
dignifiedquire 724b92e
Don't block when locking in poll
matheus23 003294e
Use `socket2::SockRef` for `connect` instead of holding a write lock
matheus23 605fd16
cleanup socket code
dignifiedquire bd572c8
less warning
dignifiedquire db5da67
store last socket state
dignifiedquire b6a4299
update atomic ops
dignifiedquire f56e95d
happy clippy
dignifiedquire 62cbe4d
normalize errors to std::io
dignifiedquire 3c06274
fmt..
dignifiedquire cc8d286
...
dignifiedquire 23b4eb7
happy clippy
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.