mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
changes
This commit is contained in:
parent
7b5e18d94b
commit
da82b14307
@ -569,7 +569,7 @@ namespace client
|
||||
LogPrint(eLogDebug, "UDPSesssion: HandleRecveived");
|
||||
if(!ecode) {
|
||||
LogPrint(eLogDebug, "UDPSession: forward ", len, "B from ", FromEndpoint);
|
||||
auto dgram = m_Destination->GetDatagramDestination();
|
||||
auto dgram = m_Destination.get()->GetDatagramDestination();
|
||||
if(dgram) {
|
||||
LastActivity = i2p::util::GetMillisecondsSinceEpoch();
|
||||
dgram->SendDatagramTo(m_Buffer, len, Identity, 0, 0);
|
||||
|
@ -136,7 +136,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 = 4000;
|
||||
|
||||
struct UDPSession
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user