From fb550aaa102523993bc82557d4bb9355f822fc77 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 27 Nov 2018 09:28:17 +0700 Subject: [PATCH] remove unused constant MaxClientHellos --- internal/protocol/protocol.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/protocol/protocol.go b/internal/protocol/protocol.go index c102691a4..bcf99d78a 100644 --- a/internal/protocol/protocol.go +++ b/internal/protocol/protocol.go @@ -72,11 +72,5 @@ const DefaultTCPMSS ByteCount = 1460 // MinInitialPacketSize is the minimum size an Initial packet is required to have. const MinInitialPacketSize = 1200 -// MaxClientHellos is the maximum number of times we'll send a client hello -// The value 3 accounts for: -// * one failure due to an incorrect or missing source-address token -// * one failure due the server's certificate chain being unavailable and the server being unwilling to send it without a valid source-address token -const MaxClientHellos = 3 - // MinConnectionIDLenInitial is the minimum length of the destination connection ID on an Initial packet. const MinConnectionIDLenInitial = 8