Ejemplo n.º 1
0
        void IdentHashLookup_LookupFailure(I2PIdentHash key)
        {
            LookupDestination lud = null;

            lock ( QueuedMessages )
            {
                if (QueuedMessages.TryGetValue(key, out lud))
                {
                    DebugUtils.Log("UnknownRouterQueue: IdentHashLookup_LookupFailure: Destination " +
                                   key.Id32Short + " not found. Marking unresolvable.");

                    QueuedMessages.Remove(key);
                }
            }

            if (lud != null)
            {
                CurrentlyUnresolvableRouters.Add(key);
            }
        }
Ejemplo n.º 2
0
        void IdentHashLookup_LookupFailure(I2PIdentHash key)
        {
            LookupDestination lud = null;

            lock ( QueuedMessages )
            {
                if (QueuedMessages.TryGetValue(key, out lud))
                {
                    Logging.LogTransport("UnknownRouterQueue: IdentHashLookup_LookupFailure: Destination " +
                                         key.Id32Short + " not found. Marking unresolvable.");

                    QueuedMessages.Remove(key);
                }
            }

            if (lud != null)
            {
                CurrentlyUnresolvableRouters.Add(key);
                NetDb.Inst.Statistics.DestinationInformationFaulty(key);
            }
        }