ladybird/Userland/Libraries/LibHTTP
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 AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
Forward.h Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
HttpRequest.cpp AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
HttpRequest.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
HttpResponse.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HttpResponse.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HttpsJob.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HttpsJob.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Job.cpp LibTLS+LibHTTP: Tolerate improperly closed TLS sockets 2024-04-17 07:19:03 +02:00
Job.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00