mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-27 21:34:17 +00:00
changes
This commit is contained in:
parent
7b5e18d94b
commit
da82b14307
@ -569,7 +569,7 @@ namespace client
|
|||||||
LogPrint(eLogDebug, "UDPSesssion: HandleRecveived");
|
LogPrint(eLogDebug, "UDPSesssion: HandleRecveived");
|
||||||
if(!ecode) {
|
if(!ecode) {
|
||||||
LogPrint(eLogDebug, "UDPSession: forward ", len, "B from ", FromEndpoint);
|
LogPrint(eLogDebug, "UDPSession: forward ", len, "B from ", FromEndpoint);
|
||||||
auto dgram = m_Destination->GetDatagramDestination();
|
auto dgram = m_Destination.get()->GetDatagramDestination();
|
||||||
if(dgram) {
|
if(dgram) {
|
||||||
LastActivity = i2p::util::GetMillisecondsSinceEpoch();
|
LastActivity = i2p::util::GetMillisecondsSinceEpoch();
|
||||||
dgram->SendDatagramTo(m_Buffer, len, Identity, 0, 0);
|
dgram->SendDatagramTo(m_Buffer, len, Identity, 0, 0);
|
||||||
|
@ -136,7 +136,7 @@ namespace client
|
|||||||
const uint64_t I2P_UDP_SESSION_TIMEOUT = 1000 * 60 * 2;
|
const uint64_t I2P_UDP_SESSION_TIMEOUT = 1000 * 60 * 2;
|
||||||
|
|
||||||
/** max size for i2p udp */
|
/** 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
|
struct UDPSession
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user