ladybird/Userland/Libraries/LibTLS
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
..
Certificate.cpp LibTLS: Add SHA-384 as supported certificate signing algorithm 2022-02-13 21:02:58 +03:30
Certificate.h LibTLS: Add SHA-384 as supported certificate signing algorithm 2022-02-13 21:02:58 +03:30
CipherSuite.h LibCrypto+LibTLS: Generalize the elliptic curve interface 2022-03-20 00:51:50 +03:30
CMakeLists.txt LibTLS: Rework method names and arrangement in cpp files 2021-05-19 09:18:45 +02:00
Handshake.cpp LibTLS: Add signature verification for DHE and ECDHE key exchange 2022-02-23 13:20:28 +03:30
HandshakeCertificate.cpp LibTLS: Rework method names and arrangement in cpp files 2021-05-19 09:18:45 +02:00
HandshakeClient.cpp LibCrypto+LibTLS: Generalize the elliptic curve interface 2022-03-20 00:51:50 +03:30
HandshakeServer.cpp LibCrypto+LibTLS: Add SECP256r1 support to LibTLS 2022-03-20 00:51:50 +03:30
Record.cpp Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
Socket.cpp Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
TLSPacketBuilder.h Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
TLSv12.cpp LibCore+Everywhere: Return ErrorOr from ConfigFile factory methods 2022-02-16 19:49:41 -05:00
TLSv12.h LibHTTP+LibTLS: Better HTTPS Socket EOF detection 2022-03-20 01:01:40 +01:00