ladybird/Tests/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
..
CMakeLists.txt LibTLS: Don't attempt to read past EOF when parsing TBSCertificate 2023-10-11 07:08:22 +02:00
TestTLSCertificateParser.cpp LibTLS: Implement ASN.1 parser function for PrivateKeyInfo 2024-03-25 17:01:23 -06:00
TestTLSHandshake.cpp LibTLS+LibHTTP: Tolerate improperly closed TLS sockets 2024-04-17 07:19:03 +02:00