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

Cope with clients that don't implement EIP-706 #1917

Merged
merged 5 commits into from
Feb 18, 2021

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Feb 16, 2021

Not all clients implement EIP-706, even though they may advertise a
version 5 in the hello packet. To cope with this when we have a snappy
decompression error if we have never succeeded in decompression turn off
snappy compression.

Signed-off-by: Danno Ferrin danno.ferrin@gmail.com

PR description

Fixed Issue(s)

Changelog

Not all clients implement EIP-706, even though they may advertise a
version 5 in the hello packet.  To cope with this when we have a snappy
decompression error if we have never succeeded in decompression turn off
snappy compression.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

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

LGTM

@shemnon shemnon enabled auto-merge (squash) February 18, 2021 17:08
@shemnon shemnon merged commit 679e5f1 into hyperledger:master Feb 18, 2021
RichardH92 pushed a commit to RichardH92/besu that referenced this pull request Mar 29, 2021
Not all clients implement EIP-706, even though they may advertise a
version 5 in the hello packet.  To cope with this if we are expecting 
compression but haven't had a compressed message yet and a new message
fails to decompress we turn off compression and try again.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
Signed-off-by: Richard Hart <richardhart92@gmail.com>
@shemnon shemnon deleted the snappy branch February 26, 2022 18:42
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
Not all clients implement EIP-706, even though they may advertise a
version 5 in the hello packet.  To cope with this if we are expecting 
compression but haven't had a compressed message yet and a new message
fails to decompress we turn off compression and try again.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants