2005-12-15 jrandom

* Added multitorrent support to I2PSnark, accessible currently by running
      "i2psnark.jar --config i2psnark.config" (which may or may not exist).
      It then joins the swarm for any torrents in ./i2psnark/*.torrent, saving
      their data in that directory as well.  Removing the .torrent file stops
      participation, and it is currently set to seed indefinitely.  Completion
      is logged to the logger and standard output, with further UI interaction
      left to the (work in progress) web UI.
This commit is contained in:
jrandom
2005-12-15 08:58:30 +00:00
committed by zzz
parent 369b6930e5
commit b37bb9372e
11 changed files with 545 additions and 49 deletions

View File

@@ -145,7 +145,7 @@ public class I2PSnarkUtil {
int destEnd = origAnnounce.indexOf(".i2p");
int pathStart = origAnnounce.indexOf('/', destEnd);
String rv = "http://i2p/" + origAnnounce.substring(destStart, destEnd) + origAnnounce.substring(pathStart);
_log.debug("Rewriting [" + origAnnounce + "] as [" + rv + "]");
//_log.debug("Rewriting [" + origAnnounce + "] as [" + rv + "]");
return rv;
}