crypto/tls: maxHandshake is not documented #35153
Labels
Documentation
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
crypto/tls
has a hard-coded limitationconst maxHandshake = 65536
for handshake message length.While a ClientHello message could has a maximum length of
131396
under extreme conditions, according to OpenSSL source code.The 64KiB limitation is good at security perspective, to reduce server resource consumption. But I think it should be documented, as a Go specific behavior.
The text was updated successfully, but these errors were encountered: