From 19f34317ba024cfcf0061ff7587210b7be8fa2af Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Wed, 21 May 2014 01:45:17 +0000 Subject: Change the MSS to 1448 bytes, because timestamps are a thing. This breaks wireprotocol compatibility. --- framing/framing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framing') diff --git a/framing/framing.go b/framing/framing.go index 5518b9f..bbb41cc 100644 --- a/framing/framing.go +++ b/framing/framing.go @@ -70,7 +70,7 @@ import ( const ( // MaximumSegmentLength is the length of the largest possible segment // including overhead. - MaximumSegmentLength = 1500 - 40 + MaximumSegmentLength = 1500 - (40 + 12) // FrameOverhead is the length of the framing overhead. FrameOverhead = lengthLength + secretbox.Overhead -- cgit v1.2.3