Changeset 63b8e71


Ignore:
Timestamp:
Dec 5, 2012 12:00:06 AM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d9727c9
Parents:
4f5da77
Message:
Location:
router/java/src/net/i2p/router/message
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/message/GarlicMessageHandler.java

    r4f5da77 r63b8e71  
    2020 * HandlerJobBuilder to build jobs to handle GarlicMessages
    2121 *
    22  * This is essentially unused, as InNetMessagePool short circuits tunnel messages,
    23  * and the garlics are handled in InboundMessageDistributor.
    24  * Unless we get a garlic message not down a tunnel?
     22 * This is the handler for garlic message not received down a tunnel, which is the
     23 * case for floodfills receiving netdb messages.
     24 * It is not the handler for garlic messages received down a tunnel,
     25 * as InNetMessagePool short circuits tunnel messages,
     26 * and those garlic messages are handled in InboundMessageDistributor.
    2527 */
    2628public class GarlicMessageHandler implements HandlerJobBuilder {
  • router/java/src/net/i2p/router/message/HandleGarlicMessageJob.java

    r4f5da77 r63b8e71  
    2626 * need to be. soon)
    2727 *
    28  * This is essentially unused, as InNetMessagePool short circuits tunnel messages,
    29  * and the garlics are handled in InboundMessageDistributor.
    30  * Unless we get a garlic message not down a tunnel?
     28 * This is the handler for garlic message not received down a tunnel, which is the
     29 * case for floodfills receiving netdb messages.
     30 * It is not the handler for garlic messages received down a tunnel,
     31 * as InNetMessagePool short circuits tunnel messages,
     32 * and those garlic messages are handled in InboundMessageDistributor.
    3133 */
    3234class HandleGarlicMessageJob extends JobImpl implements GarlicMessageReceiver.CloveReceiver {
     
    5052        _log = context.logManager().getLog(HandleGarlicMessageJob.class);
    5153        getContext().statManager().createRateStat("crypto.garlic.decryptFail", "How often garlic messages are undecryptable", "Encryption", new long[] { 5*60*1000, 60*60*1000, 24*60*60*1000 });
    52         if (_log.shouldLog(Log.WARN))
    53             _log.warn("Garlic Message not down a tunnel??? from [" + from + "]", new Exception("I did it"));
     54        if (_log.shouldLog(Log.DEBUG))
     55            _log.debug("Garlic Message not down a tunnel from [" + from + "]");
    5456        _message = msg;
    5557        //_from = from;
Note: See TracChangeset for help on using the changeset viewer.