(zzz) i2psnark: enable pipelining, set tunnel length default to 1 + 0-1

This commit is contained in:
zzz
2006-09-04 06:01:53 +00:00
committed by zzz
parent 3b01df1d2c
commit aef19fcd38
4 changed files with 10 additions and 4 deletions

View File

@ -62,7 +62,7 @@ class PeerState
// If we have te resend outstanding requests (true after we got choked).
private boolean resend = false;
private final static int MAX_PIPELINE = 1;
private final static int MAX_PIPELINE = 2;
private final static int PARTSIZE = 64*1024; // default was 16K, i2p-bt uses 64KB
PeerState(Peer peer, PeerListener listener, MetaInfo metainfo,