summaryrefslogtreecommitdiff
path: root/framing/framing.go
diff options
context:
space:
mode:
Diffstat (limited to 'framing/framing.go')
-rw-r--r--framing/framing.go2
1 files changed, 1 insertions, 1 deletions
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