This commit is contained in:
zaoqi 2024-07-04 14:28:58 +10:00 committed by GitHub
commit 325b4ed03a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -438,7 +438,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
{ {
OptionHandler* op(new NumberOptionHandler(PREF_MAX_CONNECTION_PER_SERVER, OptionHandler* op(new NumberOptionHandler(PREF_MAX_CONNECTION_PER_SERVER,
TEXT_MAX_CONNECTION_PER_SERVER, TEXT_MAX_CONNECTION_PER_SERVER,
"1", 1, 16, 'x')); "1", 1, -1, 'x'));
op->addTag(TAG_BASIC); op->addTag(TAG_BASIC);
op->addTag(TAG_FTP); op->addTag(TAG_FTP);
op->addTag(TAG_HTTP); op->addTag(TAG_HTTP);