linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #04910
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2713: revert attempted minimum download segment size change
------------------------------------------------------------
revno: 2713
committer: cologic <ne5@xxxxxxxxxxx>
branch nick: dcplusplus
timestamp: Sat 2011-12-10 15:30:26 -0500
message:
revert attempted minimum download segment size change
modified:
changelog.txt
dcpp/UserConnection.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 2011-12-10 17:47:50 +0000
+++ changelog.txt 2011-12-10 20:30:26 +0000
@@ -46,7 +46,6 @@
* The country format can be customized, see help for available codes (poy)
* Handle GeoIP database updates from within the program (iceman50, poy)
* [L#783516] ZLIF compression support (iceman50)
-* Increase minimum download segment size from 64KiB to 256KiB (cologic)
* [L#874282] Fix the "Close disconnected hubs" command (poy)
* [L#721102] Close tabs when releasing the mouse button (poy)
* [L#729684] Fix the /userlist chat command (poy)
=== modified file 'dcpp/UserConnection.cpp'
--- dcpp/UserConnection.cpp 2011-10-24 15:02:36 +0000
+++ dcpp/UserConnection.cpp 2011-12-10 20:30:26 +0000
@@ -222,7 +222,7 @@
// # ms we should aim for per segment
static const int64_t SEGMENT_TIME = 120*1000;
-static const int64_t MIN_CHUNK_SIZE = 256*1024;
+static const int64_t MIN_CHUNK_SIZE = 64*1024;
void UserConnection::updateChunkSize(int64_t leafSize, int64_t lastChunk, uint64_t ticks) {