Files
Nim/lib/pure
Esteban C Borsani e799d2fca0 Fix SIGSEGV when closing SSL async socket while sending/receiving (#24795)
Async SSL socket SIGSEGV's sometimes when calling socket.close() while
send/recv. The issue was found here
https://github.com/nitely/nim-hyperx/pull/59.

Possibly related: #24024

This can occur when closing the socket while sending or receiving,
because `socket.sslHandle` is freed. The sigsegv can also occur on calls
that require `socket.bioIn` or `socket.bioOut` because those use
`socket.sslHandle` internally. This PR checks sslHandle is set before
doing any operation that requires it.

(cherry picked from commit 9ace1f97ac)
2025-03-25 09:41:50 +01:00
..
2015-10-01 12:05:45 -07:00
2024-05-16 23:22:49 +02:00
2021-01-09 00:24:41 +01:00
2025-01-15 10:17:51 +01:00
2025-01-15 10:17:51 +01:00
2025-01-15 10:17:51 +01:00
2022-12-03 21:25:49 +08:00
2025-01-15 10:17:51 +01:00