Increased buffer sizes
This commit is contained in:
parent
d4bdcc6d09
commit
64ca3a0c47
3 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ import java.net.URLConnection;
|
||||||
* Created by ezivkoc on 2014-07-15.
|
* Created by ezivkoc on 2014-07-15.
|
||||||
*/
|
*/
|
||||||
public class UeBehaviourFileDownload extends UeBehaviour {
|
public class UeBehaviourFileDownload extends UeBehaviour {
|
||||||
private static final int BUFFER_SIZE = 512;
|
private static final int BUFFER_SIZE = 8192;
|
||||||
private static final Logger log = Logger.getLogger(UeBehaviourFileDownload.class);
|
private static final Logger log = Logger.getLogger(UeBehaviourFileDownload.class);
|
||||||
|
|
||||||
@Configurable("File address")
|
@Configurable("File address")
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import java.io.*;
|
||||||
*/
|
*/
|
||||||
public class UeBehaviourFtpDownload extends UeBehaviourFtp {
|
public class UeBehaviourFtpDownload extends UeBehaviourFtp {
|
||||||
private static final Logger log = Logger.getLogger(UeBehaviourFtpDownload.class);
|
private static final Logger log = Logger.getLogger(UeBehaviourFtpDownload.class);
|
||||||
private static final int BUFFER_SIZE = 512;
|
private static final int BUFFER_SIZE = 8192;
|
||||||
|
|
||||||
@Configurable(order=1, value="Host")
|
@Configurable(order=1, value="Host")
|
||||||
private String host = "ftp.otenet.gr";
|
private String host = "ftp.otenet.gr";
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import java.util.regex.Pattern;
|
||||||
* Created by ezivkoc on 2014-07-15.
|
* Created by ezivkoc on 2014-07-15.
|
||||||
*/
|
*/
|
||||||
public class UeBehaviourSurfing extends UeBehaviour {
|
public class UeBehaviourSurfing extends UeBehaviour {
|
||||||
private static final int BUFFER_SIZE = 512;
|
private static final int BUFFER_SIZE = 8192;
|
||||||
protected static final int MAX_BUFFER_SIZE = 500000;
|
protected static final int MAX_BUFFER_SIZE = 500000;
|
||||||
private static final Logger log = Logger.getLogger(UeBehaviourSurfing.class);
|
private static final Logger log = Logger.getLogger(UeBehaviourSurfing.class);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue