mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
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:
parent
23febbed41
commit
e5fde795e0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue