mirror of
https://github.com/XTLS/REALITY.git
synced 2025-08-30 10:25:32 +00:00
crypto/tls: set const maxUselessRecords to 32 (the same with OpenSSL)
https://github.com/golang/go/pull/58913
This commit is contained in:
parent
15efa424b2
commit
dc9a7cef8e
@ -42,7 +42,7 @@ const (
|
||||
maxCiphertextTLS13 = 16384 + 256 // maximum ciphertext length in TLS 1.3
|
||||
recordHeaderLen = 5 // record header length
|
||||
maxHandshake = 65536 // maximum handshake we support (protocol max is 16 MB)
|
||||
maxUselessRecords = 16 // maximum number of consecutive non-advancing records
|
||||
maxUselessRecords = 32 // maximum number of consecutive non-advancing records
|
||||
)
|
||||
|
||||
// TLS record types.
|
||||
|
Loading…
Reference in New Issue
Block a user