mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
reduced amount of logging
This commit is contained in:
parent
fbf672288f
commit
ec50b97aa8
@ -578,11 +578,9 @@ namespace i2p
|
|||||||
switch (msg->GetTypeID ())
|
switch (msg->GetTypeID ())
|
||||||
{
|
{
|
||||||
case eI2NPTunnelData:
|
case eI2NPTunnelData:
|
||||||
LogPrint ("TunnelData");
|
|
||||||
m_TunnelMsgs.push_back (msg);
|
m_TunnelMsgs.push_back (msg);
|
||||||
break;
|
break;
|
||||||
case eI2NPTunnelGateway:
|
case eI2NPTunnelGateway:
|
||||||
LogPrint ("TunnelGateway");
|
|
||||||
m_TunnelGatewayMsgs.push_back (msg);
|
m_TunnelGatewayMsgs.push_back (msg);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -35,7 +35,6 @@ namespace tunnel
|
|||||||
{
|
{
|
||||||
EncryptTunnelMsg (tunnelMsg);
|
EncryptTunnelMsg (tunnelMsg);
|
||||||
|
|
||||||
LogPrint (eLogDebug, "TransitTunnel: ",GetTunnelID (),"->", GetNextTunnelID ());
|
|
||||||
m_NumTransmittedBytes += tunnelMsg->GetLength ();
|
m_NumTransmittedBytes += tunnelMsg->GetLength ();
|
||||||
htobe32buf (tunnelMsg->GetPayload (), GetNextTunnelID ());
|
htobe32buf (tunnelMsg->GetPayload (), GetNextTunnelID ());
|
||||||
FillI2NPMessageHeader (tunnelMsg, eI2NPTunnelData);
|
FillI2NPMessageHeader (tunnelMsg, eI2NPTunnelData);
|
||||||
@ -46,6 +45,7 @@ namespace tunnel
|
|||||||
{
|
{
|
||||||
if (!m_TunnelDataMsgs.empty ())
|
if (!m_TunnelDataMsgs.empty ())
|
||||||
{
|
{
|
||||||
|
LogPrint (eLogDebug, "TransitTunnel: ",GetTunnelID (),"->", GetNextTunnelID (), " ", m_TunnelDataMsgs.size ());
|
||||||
i2p::transport::transports.SendMessages (GetNextIdentHash (), m_TunnelDataMsgs);
|
i2p::transport::transports.SendMessages (GetNextIdentHash (), m_TunnelDataMsgs);
|
||||||
m_TunnelDataMsgs.clear ();
|
m_TunnelDataMsgs.clear ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user