Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

p2p: update frame size #235

Merged
merged 1 commit into from
Dec 18, 2020
Merged

p2p: update frame size #235

merged 1 commit into from
Dec 18, 2020

Conversation

melekes
Copy link
Contributor

@melekes melekes commented Dec 17, 2020

Reflect the change made in tendermint/tendermint#5805

The MTU (Maximum Transmission Unit) for Ethernet is 1500 bytes.
The IP header and the TCP header take up 20 bytes each at least (unless
optional header fields are used) and thus the max for (non-Jumbo frame)
Ethernet is 1500 - 20 -20 = 1460
Source: https://stackoverflow.com/a/3074427/820520

Reflect the change made in tendermint/tendermint#5805

The MTU (Maximum Transmission Unit) for Ethernet is 1500 bytes.
The IP header and the TCP header take up 20 bytes each at least (unless
optional header fields are used) and thus the max for (non-Jumbo frame)
Ethernet is 1500 - 20 -20 = 1460
Source: https://stackoverflow.com/a/3074427/820520
Copy link
Contributor

@xla xla left a comment

Choose a reason for hiding this comment

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

💺 🎢 🎩 🔍

@brapse brapse merged commit 439a5bc into master Dec 18, 2020
@brapse brapse deleted the melekes-patch-1 branch December 18, 2020 11:19
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.

4 participants