Skip to content
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

QSP-33 Check Max Response For All Topics #6424

Merged
merged 22 commits into from
Jun 30, 2020
Merged

Conversation

rauljordan
Copy link
Contributor

Part of #6327, we were not checking max response sizes for all p2p topics. We had two different funcs called EncodeWithLength and EncodeWithMaxLength which both did the same thing, except the latter adds a check for the MaxChunkSize accordingly. Given every p2p gossip response is a chunk (even if a single chunk), we should be checking for this for all topics appropriately.

@rauljordan rauljordan requested a review from a team as a code owner June 26, 2020 19:36
@rauljordan rauljordan self-assigned this Jun 26, 2020
@rauljordan rauljordan added Audit Ready For Review A pull request ready for code review labels Jun 26, 2020
@rauljordan
Copy link
Contributor Author

Curious what you think @nisdas

@nisdas
Copy link
Member

nisdas commented Jun 29, 2020

@rauljordan looks good to me, but docker images need to be fixed.

@rauljordan rauljordan merged commit a0c38c8 into master Jun 30, 2020
@delete-merged-branch delete-merged-branch bot deleted the max-response-chunks branch June 30, 2020 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants