From c90896c2776e7d114084081595ec30a51fdbaced Mon Sep 17 00:00:00 2001 From: Andrea Leopardi Date: Wed, 11 Sep 2024 10:22:02 +0200 Subject: [PATCH] Fix two option names in the ssl docs --- lib/ssl/src/ssl.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl index 84f188227bfa..6d00dd39364d 100644 --- a/lib/ssl/src/ssl.erl +++ b/lib/ssl/src/ssl.erl @@ -645,7 +645,7 @@ Options common to both client and server side. Defaults to `tls`. -- **`{handshake_completion, Completion}`** - Possibly pause handshake at hello stage. +- **`{handshake, Completion}`** - Possibly pause handshake at hello stage. Defaults to `full`. If `hello` is specified the handshake will pause after the hello message, allowing the user to make decisions based @@ -661,7 +661,7 @@ Options common to both client and server side. Added in OTP 23.2. -- **`{handshake_size, HandshakeSize}`** - Limit the acceptable handshake packet size. +- **`{max_handshake_size, HandshakeSize}`** - Limit the acceptable handshake packet size. Used to limit the size of valid TLS handshake packets to avoid DoS attacks.