* Reseeder: Reduce max response size to 1MB (was 8MB)

This commit is contained in:
zzz
2010-03-08 00:44:15 +00:00
parent c087b0695f
commit 26cf1922db

View File

@@ -34,7 +34,7 @@ public class Reseeder {
private Log _log;
// Reject unreasonably big files, because we download into a ByteArrayOutputStream.
private static final long MAX_RESEED_RESPONSE_SIZE = 8 * 1024 * 1024;
private static final long MAX_RESEED_RESPONSE_SIZE = 1024 * 1024;
private static final String DEFAULT_SEED_URL = "http://a.netdb.i2p2.de/,http://b.netdb.i2p2.de/,http://reseed.i2p-projekt.de/";
private static final String PROP_INPROGRESS = "net.i2p.router.web.ReseedHandler.reseedInProgress";