ladybird/Libraries/LibTLS
devgianlu 7eace6af66 LibTLS: Notify on_ready_to_read after handling fatal errors
The `on_ready_to_read` callback on the underlying socket will be called
for various reasons which do not always guarantee that the next read
operation will be successful. For example, the server might have sent an
alert or a TCP RST.

We handle fatal errors on the SSL connection before calling to the user
so that `can_read_without_blocking` does not falsely advertise. The same
checks should be performed there, but it is not possible due to the
function being const.
2025-02-22 18:39:58 +01:00
..
CMakeLists.txt LibTLS: Remove unused DefaultRootCACertificates 2025-02-17 19:52:43 +01:00
OpenSSLForward.h LibTLS: Replace TLSv12 implementation with OpenSSL 2025-02-17 19:52:43 +01:00
TLSv12.cpp LibTLS: Notify on_ready_to_read after handling fatal errors 2025-02-22 18:39:58 +01:00
TLSv12.h LibTLS: Close connection on fatal error 2025-02-22 18:39:58 +01:00