From 3f9957178e5b9bd2cdd56dd5703e9faa4dda6a9d Mon Sep 17 00:00:00 2001
From: H William Welliver <william@welliver.org>
Date: Tue, 1 Dec 2020 22:55:24 -0500
Subject: [PATCH] Changes: changes

---
 CHANGES | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/CHANGES b/CHANGES
index 99d7365574..b1f54c5dc3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -322,15 +322,20 @@ o SSL
 
 o SSL.File
 
-  Do not close automatically on write error.
+  - Do not close automatically on write error.
 
-  The internal ssl_write_callback() would call shutdown()
-  on write error, which would cause the object to enter
-  one of the closed states, without the user actually
-  having closed the file.
+    The internal ssl_write_callback() would call shutdown()
+    on write error, which would cause the object to enter
+    one of the closed states, without the user actually
+    having closed the file.
   
-  This in turn caused errors like "Not open" from
-  functions like read() and set_nonblocking().
+    This in turn caused errors like "Not open" from
+    functions like read() and set_nonblocking().
+
+  - Fix a situation where setting callbacks before the TLS 
+    handshake had completed would cause the connection to hang
+    if an alert was generated (for instance when the peers are 
+    unable to agree on a cipher suite.)
 
 o Standards.JSON
 
-- 
GitLab