> > I am also bothered by 127.0.0.1:19114 being in the list; could this cause
> > the node to try to connect to itself?
>
> Trying to connect to yourself should be caught an handled correctly anyways.
> L185 in Message.java.

        if (myAddress.equals(peer))
            throw new SendFailedException(peer); // don't send to yourself

and Address.equals is:

  public boolean equals(Object o)
    {
        return ((o instanceof Address) &&
                (((Address) o).protocol.equals(protocol)) &&
                (((Address) o).address.equals(address)));

    }

My node has two addresses: 207.71.226.132:19114 and 127.0.0.1:19114.
I'm worried that the code would not recognize that these two are the same.

Hal

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to