fix(connectionhandler): Delay socket termination in TLS session resumption handling to allow proper alert processing

This commit is contained in:
2025-03-17 13:23:07 +00:00
parent 1611f65455
commit 22f46700f1
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## 2025-03-17 - 4.1.15 - fix(connectionhandler)
Delay socket termination in TLS session resumption handling to allow proper alert processing
- Removed the immediate socket.end() call in finishConnection and moved it inside the setTimeout, ensuring that clients (especially Chrome) have additional time to process the TLS alert before connection termination
- This prevents premature socket closure on ClientHello without SNI when session tickets are disallowed
## 2025-03-17 - 4.1.14 - fix(ConnectionHandler)
Use the correct TLS alert data and increase the delay before socket termination when session resumption without SNI is detected.