Anton Kaliaev
ced66e4eb5
config: increase MaxPacketMsgPayloadSize to 1400
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 |
4 years ago | |
---|---|---|
.. | ||
testdata | p2p: Add test vectors for deriving secrets (#2120) | 6 years ago |
conn_go110.go | p2p: tmconn->conn and types->p2p | 7 years ago |
conn_notgo110.go | p2p: tmconn->conn and types->p2p | 7 years ago |
connection.go | config: increase MaxPacketMsgPayloadSize to 1400 | 4 years ago |
connection_test.go | use Cleanup(),TempDir() in test cases (#5723) | 4 years ago |
evil_secret_connection_test.go | proto: folder structure adhere to buf (#5025) | 4 years ago |
secret_connection.go | crypto: API modifications (#5236) | 4 years ago |
secret_connection_test.go | use Cleanup(),TempDir() in test cases (#5723) | 4 years ago |