increase I2CP socket buffer size

This commit is contained in:
orignal 2024-07-23 16:01:43 -04:00
parent 23e323438a
commit 830e49f2c5

View File

@ -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 ();
}