forked from I2P_Developers/i2p.i2p
2005-12-19 jrandom
* Fix for old Syndie blog bookmarks (thanks Complication!)
* Fix for I2PSnark to accept incoming connections again (oops)
* Randomize the order that peers from the tracker are contacted
This commit is contained in:
@@ -53,6 +53,9 @@ class PeerConnectionOut implements Runnable
|
||||
|
||||
lastSent = System.currentTimeMillis();
|
||||
quit = false;
|
||||
}
|
||||
|
||||
public void startup() {
|
||||
thread = new I2PThread(this, "Snark sender " + _id);
|
||||
thread.start();
|
||||
}
|
||||
@@ -63,6 +66,7 @@ class PeerConnectionOut implements Runnable
|
||||
*/
|
||||
public void run()
|
||||
{
|
||||
try { Thread.sleep(1000); } catch (InterruptedException ie) {}
|
||||
try
|
||||
{
|
||||
while (!quit && peer.isConnected())
|
||||
|
||||
Reference in New Issue
Block a user