TCP: Remove overridden default buffer size.

The default of 65535 now seems to work OK,
following previous commits.
This commit is contained in:
Augustin Cavalier 2024-01-29 16:06:25 -05:00
parent c4f37b0017
commit 5c2c391d20

View File

@ -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;