1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 01:07:44 +00:00

Revert "LibTLS: Close the underlying socket on EOF"

This reverts commit 23febbed41.

It breaks the TestTLSHandshake test used in CI, it causes it
to hang, and all CI jobs have been hanging.
This commit is contained in:
Brian Gianforcaro 2021-09-16 00:28:18 -07:00 committed by Brian Gianforcaro
parent 9f50e288f7
commit b61eff8730
2 changed files with 13 additions and 21 deletions

View file

@ -412,7 +412,6 @@ private:
void read_from_socket();
bool check_connection_state(bool read);
void notify_client_for_app_data();
ssize_t handle_server_hello(ReadonlyBytes, WritePacketStage&);
ssize_t handle_handshake_finished(ReadonlyBytes, WritePacketStage&);
@ -516,7 +515,6 @@ private:
CipherVariant m_cipher_remote { Empty {} };
bool m_has_scheduled_write_flush { false };
bool m_has_scheduled_app_data_flush { false };
i32 m_max_wait_time_for_handshake_in_seconds { 10 };
RefPtr<Core::Timer> m_handshake_timeout_timer;