Browse Source

reduced amount of logging

pull/163/head
orignal 10 years ago
parent
commit
ec50b97aa8
  1. 2
      I2NPProtocol.cpp
  2. 2
      TransitTunnel.cpp

2
I2NPProtocol.cpp

@ -578,11 +578,9 @@ namespace i2p @@ -578,11 +578,9 @@ namespace i2p
switch (msg->GetTypeID ())
{
case eI2NPTunnelData:
LogPrint ("TunnelData");
m_TunnelMsgs.push_back (msg);
break;
case eI2NPTunnelGateway:
LogPrint ("TunnelGateway");
m_TunnelGatewayMsgs.push_back (msg);
break;
default:

2
TransitTunnel.cpp

@ -35,7 +35,6 @@ namespace tunnel @@ -35,7 +35,6 @@ namespace tunnel
{
EncryptTunnelMsg (tunnelMsg);
LogPrint (eLogDebug, "TransitTunnel: ",GetTunnelID (),"->", GetNextTunnelID ());
m_NumTransmittedBytes += tunnelMsg->GetLength ();
htobe32buf (tunnelMsg->GetPayload (), GetNextTunnelID ());
FillI2NPMessageHeader (tunnelMsg, eI2NPTunnelData);
@ -46,6 +45,7 @@ namespace tunnel @@ -46,6 +45,7 @@ namespace tunnel
{
if (!m_TunnelDataMsgs.empty ())
{
LogPrint (eLogDebug, "TransitTunnel: ",GetTunnelID (),"->", GetNextTunnelID (), " ", m_TunnelDataMsgs.size ());
i2p::transport::transports.SendMessages (GetNextIdentHash (), m_TunnelDataMsgs);
m_TunnelDataMsgs.clear ();
}

Loading…
Cancel
Save