Changeset 571e3c5


Ignore:
Timestamp:
Nov 29, 2004 2:09:27 AM (16 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
153eea2
Parents:
a2d268f3
git-author:
jrandom <jrandom> (11/29/04 02:09:27)
git-committer:
zzz <zzz@…> (11/29/04 02:09:27)
Message:

2004-11-28 jrandom

  • Accept IP address detection changes with a 2-out-of-3 minimum.
  • As long as the router is up, keep retrying to bind the I2CP listener.
  • Decrease the java service wrapper ping frequency to once every 10 minutes, rather than once every 5 seconds.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/tcp/TCPConnection.java

    ra2d268f3 r571e3c5  
    3131    private Hash _attemptedPeer;
    3232    private TCPAddress _remoteAddress;
     33    private String _shownAddress;
    3334    private List _pendingMessages;
    3435    private InputStream _in;
     
    5051        _ident = null;
    5152        _remoteAddress = null;
     53        _shownAddress = null;
    5254        _in = null;
    5355        _out = null;
     
    7678    /** Who we initially were trying to contact */
    7779    public void setAttemptedPeer(Hash peer) { _attemptedPeer = peer; }
     80    /** What address the peer said we are reachable on */
     81    public void setShownAddress(String ip) { _shownAddress = ip; }
     82    /** What address the peer said we are reachable on */
     83    public String getShownAddress() { return _shownAddress; }
    7884   
    7985    /**
Note: See TracChangeset for help on using the changeset viewer.