mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 19:57:48 +02:00
set UDP receive buffer size
This commit is contained in:
parent
5993cc857a
commit
5e0a8ed232
2 changed files with 4 additions and 1 deletions
|
@ -167,7 +167,7 @@ namespace client
|
|||
const uint64_t I2P_UDP_SESSION_TIMEOUT = 1000 * 60 * 2;
|
||||
|
||||
/** max size for i2p udp */
|
||||
const size_t I2P_UDP_MAX_MTU = i2p::datagram::MAX_DATAGRAM_SIZE;
|
||||
const size_t I2P_UDP_MAX_MTU = 64*1024;
|
||||
|
||||
struct UDPSession
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue