Browse Source

increase I2CP socket buffer size

pull/2094/head
orignal 4 months ago
parent
commit
830e49f2c5
  1. 5
      libi2pd_client/I2CP.cpp

5
libi2pd_client/I2CP.cpp

@ -287,6 +287,11 @@ namespace client @@ -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…
Cancel
Save