LibTLS: Increase the maximum socket read size to 4MiB

There's no reason to limit ourselves to 4KiB, this socket is not
blocking anyway.
This commit is contained in:
Ali Mohammad Pur 2021-09-16 00:27:20 +04:30 committed by Andreas Kling
parent 23febbed41
commit e5fde795e0

View file

@ -164,7 +164,7 @@ void TLSv12::read_from_socket()
if (!check_connection_state(true))
return;
consume(Core::Socket::read(4096));
consume(Core::Socket::read(4 * MiB));
// If anything new shows up, tell the client about the event.
notify_client_for_app_data();