← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3355: Reduce the max protocol command size from 16 MiB to 16 KiB

 

------------------------------------------------------------
revno: 3355
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sun 2013-09-22 15:55:59 +0200
message:
  Reduce the max protocol command size from 16 MiB to 16 KiB
modified:
  changelog.txt
  dcpp/SettingsManager.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt	2013-09-22 13:51:20 +0000
+++ changelog.txt	2013-09-22 13:55:59 +0000
@@ -13,6 +13,7 @@
 * Don't reconnect after a manual hub disconnect (poy)
 * [L#1225930] Always show the window when double-clicking the notif icon (poy)
 * [L#1220488] Upgrade the compiler
+* Reduce the max protocol command size from 16 MiB to 16 KiB
 
 -- 0.828 2013-07-23 --
 * Translation fixes

=== modified file 'dcpp/SettingsManager.cpp'
--- dcpp/SettingsManager.cpp	2013-08-19 20:13:24 +0000
+++ dcpp/SettingsManager.cpp	2013-09-22 13:55:59 +0000
@@ -301,7 +301,7 @@
 	setDefault(AUTO_KICK_NO_FAVS, false);
 	setDefault(PROMPT_PASSWORD, false);
 	setDefault(DONT_DL_ALREADY_QUEUED, false);
-	setDefault(MAX_COMMAND_LENGTH, 16*1024*1024);
+	setDefault(MAX_COMMAND_LENGTH, 16*1024);
 	setDefault(ALLOW_UNTRUSTED_HUBS, true);
 	setDefault(ALLOW_UNTRUSTED_CLIENTS, true);
 	setDefault(SORT_FAVUSERS_FIRST, false);