From 3e3eb8ac6acbf3b4e71390b4e154c7093fa0f03e Mon Sep 17 00:00:00 2001 From: Stephane Sezer Date: Sun, 8 May 2016 23:01:31 -0700 Subject: [PATCH] Allow --max-connection-per-server to go up to 128. Some ISPs seem to limit the maximum bitrate per TCP session through some routes. Greatly increasing the number of connections to a remote server allows user to bypass these artificial limitations. --- src/OptionHandlerFactory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 595f9cd9..4d5c0075 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -419,7 +419,7 @@ std::vector OptionHandlerFactory::createOptionHandlers() { OptionHandler* op(new NumberOptionHandler(PREF_MAX_CONNECTION_PER_SERVER, TEXT_MAX_CONNECTION_PER_SERVER, - "1", 1, 16, 'x')); + "1", 1, 128, 'x')); op->addTag(TAG_BASIC); op->addTag(TAG_FTP); op->addTag(TAG_HTTP);