TCP: Remove overridden default buffer size.
The default of 65535 now seems to work OK, following previous commits.
This commit is contained in:
@@ -476,9 +476,6 @@ tcp_options_length(tcp_segment_header& segment)
|
|||||||
net_protocol*
|
net_protocol*
|
||||||
tcp_init_protocol(net_socket* socket)
|
tcp_init_protocol(net_socket* socket)
|
||||||
{
|
{
|
||||||
socket->send.buffer_size = 32768;
|
|
||||||
// override net_socket default
|
|
||||||
|
|
||||||
TCPEndpoint* protocol = new (std::nothrow) TCPEndpoint(socket);
|
TCPEndpoint* protocol = new (std::nothrow) TCPEndpoint(socket);
|
||||||
if (protocol == NULL)
|
if (protocol == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user