mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Kernel: Add support for TCP window size scaling
This should allow us to eventually properly saturate high-bandwidth network links when using TCP, once other nonoptimal parts of our network stack are improved.
This commit is contained in:
parent
2c51ff763b
commit
785c9d5c2b
Notes:
sideshowbarker
2024-07-17 03:14:39 +09:00
Author: https://github.com/IdanHo
Commit: 785c9d5c2b
Pull-request: https://github.com/SerenityOS/serenity/pull/22444
6 changed files with 124 additions and 14 deletions
|
@ -38,7 +38,7 @@ MutexProtected<IPv4Socket::List>& IPv4Socket::all_sockets()
|
|||
|
||||
ErrorOr<NonnullOwnPtr<DoubleBuffer>> IPv4Socket::try_create_receive_buffer()
|
||||
{
|
||||
return DoubleBuffer::try_create("IPv4Socket: Receive buffer"sv, 256 * KiB);
|
||||
return DoubleBuffer::try_create("IPv4Socket: Receive buffer"sv, receive_buffer_size);
|
||||
}
|
||||
|
||||
ErrorOr<NonnullRefPtr<Socket>> IPv4Socket::create(int type, int protocol)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue