increase CryptoParameterMaxLength

This commit is contained in:
Marten Seemann
2016-11-28 10:06:12 +07:00
parent 8161e1f4a1
commit 7f2e706908

View File

@@ -87,7 +87,7 @@ const MaxStreamFrameSorterGaps = 1000
const CryptoMaxParams = 128
// CryptoParameterMaxLength is the upper limit for the length of a parameter in a crypto message.
const CryptoParameterMaxLength = 2000
const CryptoParameterMaxLength = 4000
// EphermalKeyLifetime is the lifetime of the ephermal key during the handshake, see handshake.getEphermalKEX.
const EphermalKeyLifetime = time.Minute