Changeset c207727


Ignore:
Timestamp:
Jul 22, 2015 10:05:44 PM (5 years ago)
Author:
dg2-new <dg2-new@…>
Branches:
master
Children:
f6605d0
Parents:
35b0e99f
Message:

I2PSnark: Don't let tunnels start unless we're starting torrents (regression, #766)

Location:
apps/i2psnark/java/src/org/klomp/snark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/Peer.java

    r35b0e99f rc207727  
    298298        if (_log.shouldLog(Log.DEBUG))
    299299            _log.debug("Start running the reader with " + toString());
    300         // Use this thread for running the incomming connection.
     300        // Use this thread for running the incoming connection.
    301301        // The outgoing connection creates its own Thread.
    302302        out.startup();
  • apps/i2psnark/java/src/org/klomp/snark/SnarkManager.java

    r35b0e99f rc207727  
    12791279        } else {
    12801280            running = false;
    1281         }
     1281        }       
    12821282        // Were we running last time?
    12831283        if (!dontAutoStart && shouldAutoStart() && running) {
     
    21292129                    // Snark.fatal() throws a RuntimeException
    21302130                    // don't let one bad torrent kill the whole loop
    2131                     addTorrent(name, null, false);
     2131                    addTorrent(name, null, !shouldAutoStart());
    21322132                } catch (Exception e) {
    21332133                    addMessage(_("Error: Could not add the torrent {0}", name) + ": " + e);
Note: See TracChangeset for help on using the changeset viewer.