-
Notifications
You must be signed in to change notification settings - Fork 711
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
Clean up decoding of known-len component of messages between bootstrap client/server #3881
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
3519398
Use dedicated deserializer for client-binder msg receive
Ben-PH 125c1f3
Use helper method to decode data in known-len component of msg frm cl…
Ben-PH e64dd15
In client-binder, use helper method instead of a dedicated deser-struct
Ben-PH 7ae357b
Remove redundant TODO
Ben-PH ca3a5c6
Bootstrap/constify (#3883)
Ben-PH 03321ee
Use timeout-updating read-loop. Use peek_exact_timeout helper
Ben-PH ad38081
Send message to client in single write_all
Ben-PH d7c46a0
Document new helper methods
Ben-PH 89b5c60
Make the servers `send_timeout` more readable
Ben-PH 4aff56a
Revert the use of peek to a read-exact
Ben-PH 041662c
Use traits to implement read_exact without code duplication
Ben-PH 4c7a5b5
Remove unused peek implementation
Ben-PH 01fa710
Comment the new methods
Ben-PH d006490
Clear clippy lints
Ben-PH 472ed63
Client sends message in a single write
Ben-PH 9c6055c
Implement and use the traits for the server binder
Ben-PH 5676e9b
Module rearrangement
Ben-PH 17eafbd
Merge remote-tracking branch 'origin/testnet_22' into bootstrap/use-r…
Ben-PH 93c43a3
`cargo fmt --all`
Ben-PH c92b93d
Self review
Ben-PH 35a5c2d
Merge remote-tracking branch 'origin/testnet_22' into bootstrap/messa…
Ben-PH 497e76e
Merge remote-tracking branch 'origin/bootstrap/use-read-loop' into bo…
Ben-PH 9e5abd5
Delete file that somehow missed the deletion-memo
Ben-PH 9f8bd55
Merge branch 'testnet_23' into bootstrap/message-deser
Ben-PH 54aa34c
Clear clippy lints
Ben-PH 9b867ed
Merge branch 'testnet_23' into bootstrap/message-deser
Ben-PH 0102c2e
rename peek and friends to reflect the reversion of peek usage
Ben-PH 3f7b7b4
Use read_exact_timeout (should have been included in use-read-loop)
Ben-PH ff7a558
Use an in-file constant for compile-time known values
Ben-PH 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
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.
piggy backing off this PR: This change should have been part of #3885