mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
increase I2CP socket buffer size
This commit is contained in:
parent
23e323438a
commit
830e49f2c5
@ -287,6 +287,11 @@ namespace client
|
||||
|
||||
void I2CPSession::Start ()
|
||||
{
|
||||
if (m_Socket)
|
||||
{
|
||||
m_Socket->set_option (boost::asio::socket_base::receive_buffer_size (I2CP_MAX_MESSAGE_LENGTH));
|
||||
m_Socket->set_option (boost::asio::socket_base::send_buffer_size (I2CP_MAX_MESSAGE_LENGTH));
|
||||
}
|
||||
ReadProtocolByte ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user