From 5c2c391d2077de92def22055bd6726edb26c0acd Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 29 Jan 2024 16:06:25 -0500 Subject: [PATCH] TCP: Remove overridden default buffer size. The default of 65535 now seems to work OK, following previous commits. --- src/add-ons/kernel/network/protocols/tcp/tcp.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/add-ons/kernel/network/protocols/tcp/tcp.cpp b/src/add-ons/kernel/network/protocols/tcp/tcp.cpp index 3425d1f6bd..fd5dc38886 100644 --- a/src/add-ons/kernel/network/protocols/tcp/tcp.cpp +++ b/src/add-ons/kernel/network/protocols/tcp/tcp.cpp @@ -476,9 +476,6 @@ tcp_options_length(tcp_segment_header& segment) net_protocol* tcp_init_protocol(net_socket* socket) { - socket->send.buffer_size = 32768; - // override net_socket default - TCPEndpoint* protocol = new (std::nothrow) TCPEndpoint(socket); if (protocol == NULL) return NULL;