mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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
Notes:
sideshowbarker
2024-07-18 03:54:45 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/e5fde795e0f Pull-request: https://github.com/SerenityOS/serenity/pull/10044
@ -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…
Reference in New Issue
Block a user