Skip to content

Commit c01b5d1

Browse files
committed
Improved mitm modules performance.
Default buffer size for read remote responses increased to 65536 bytes. Closes #487
1 parent 999ae0a commit c01b5d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cSploit/src/main/java/org/csploit/android/net/http/proxy/StreamThread.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class StreamThread implements Runnable
4141
};
4242

4343
private final static String HEAD_SEPARATOR = "\r\n\r\n";
44-
private final static int CHUNK_SIZE = 1024;
44+
private final static int CHUNK_SIZE = 64 * 1024;
4545

4646
private String mClient = null;
4747
private InputStream mReader = null;

0 commit comments

Comments
 (0)