Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Enforce limits on the size of inbound messages/requests in P2P - Closes #3335 #3999

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

jondubois
Copy link
Contributor

What was the problem?

Peers were not being disconnected if they sent a payload larger than maxPayload. This feature was broken due to significant changes in the last merge.

How did I fix it?

Set the payload properties correctly and improved the relevant test cases.

How to test it?

Run p2p integration tests.

Review checklist

@diego-G diego-G requested a review from mitsuaki-u July 24, 2019 10:15
Copy link
Contributor

@mitsuaki-u mitsuaki-u left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jondubois jondubois merged commit b5ad787 into feature/implement-lip-p2p Jul 25, 2019
@shuse2 shuse2 deleted the 3335-max_payload branch July 25, 2019 12:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants