ladybird/Userland/Libraries/LibTLS
Ali Mohammad Pur 06386ab2b5 LibTLS+LibHTTP: Tolerate improperly closed TLS sockets
Some really cursed servers simply drop the TCP socket on the floor when
they're trying to close an HTTP connection going through a TLS socket.
This commit makes LibTLS tolerate these silly servers, and LibHTTP
accept their idea of "EOF == connection closed".

Fixes loading wpt.live/acid/acid3/test.html.

Note that this means TLSv12::on_ready_to_read can fire with an empty
buffer signifying EOF; one test refused this behaviour, and has been
changed in this commit.
2024-04-17 07:19:03 +02:00
..
Certificate.cpp LibTLS: Implement ASN.1 parser function for PrivateKeyInfo 2024-03-25 17:01:23 -06:00
Certificate.h LibTLS: Implement ASN.1 parser function for PrivateKeyInfo 2024-03-25 17:01:23 -06:00
CipherSuite.h LibTLS: Move CipherSuite to Extensions.h 2023-04-14 12:32:04 +01:00
CMakeLists.txt LibTLS: Streamline certificate loading 2023-04-12 11:40:06 +03:30
Extensions.h LibTLS: Add RFC explanation of AlertDescription values 2023-04-14 12:32:04 +01:00
Handshake.cpp LibCrypto: Remove unused Crypto::PK::EMSA_PSS class 2024-03-16 01:17:02 -06:00
HandshakeCertificate.cpp LibCrypto: Remove unused Crypto::PK::EMSA_PSS class 2024-03-16 01:17:02 -06:00
HandshakeClient.cpp Userland: Avoid some now-unneeded explicit conversions to Bytes 2024-04-04 11:23:21 +02:00
HandshakeServer.cpp LibCrypto: Remove unused Crypto::PK::EMSA_PSS class 2024-03-16 01:17:02 -06:00
Record.cpp LibCrypto: Remove unused Crypto::PK::EMSA_PSS class 2024-03-16 01:17:02 -06:00
Socket.cpp LibTLS+LibHTTP: Tolerate improperly closed TLS sockets 2024-04-17 07:19:03 +02:00
TLSPacketBuilder.h LibTLS: Rename Version to ProtocolVersion 2023-04-14 12:32:04 +01:00
TLSv12.cpp LibCrypto: Remove unused Crypto::PK::EMSA_PSS class 2024-03-16 01:17:02 -06:00
TLSv12.h LibTLS: Add segmentation to the application buffer to avoid memcpy churn 2024-01-03 14:59:59 +01:00