ladybird/Userland/Libraries/LibHTTP
Florent Castelli e165ae5b60 LibHTTP+LibTLS: Better HTTPS Socket EOF detection
When the server doesn't signal the Content-Length or use a chunked mode,
it may just terminate the connection after sending the data.
The TLS sockets would then get stuck in a state with no data to read and
not reach the disconnected state, making some requests hang.

We know double check the EOF status of HTTP jobs after reading the
payload to resolve requests properly and also mark the TLS sockets as
EOF after processing all the data and the underlying TCP socket reaches
EOF.

Fixes #12866.
2022-03-20 01:01:40 +01:00
..
CMakeLists.txt Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
Forward.h Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
HttpRequest.cpp Libraries: Use default constructors/destructors in LibHTTP 2022-03-13 22:34:38 +01:00
HttpRequest.h Libraries: Use default constructors/destructors in LibHTTP 2022-03-13 22:34:38 +01:00
HttpResponse.cpp Libraries: Use default constructors/destructors in LibHTTP 2022-03-13 22:34:38 +01:00
HttpResponse.h Libraries: Use default constructors/destructors in LibHTTP 2022-03-13 22:34:38 +01:00
HttpsJob.cpp Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
HttpsJob.h Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
Job.cpp LibHTTP+LibTLS: Better HTTPS Socket EOF detection 2022-03-20 01:01:40 +01:00
Job.h Libraries: Use default constructors/destructors in LibHTTP 2022-03-13 22:34:38 +01:00