linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06464
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3192: Clean up earlier after receiving zlib data
------------------------------------------------------------
revno: 3192
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sun 2013-01-27 19:04:17 +0100
message:
Clean up earlier after receiving zlib data
modified:
changelog.txt
dcpp/BufferedSocket.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-01-27 17:45:34 +0000
+++ changelog.txt 2013-01-27 18:04:17 +0000
@@ -24,6 +24,7 @@
* Add a toolbar button to open own file list (poy)
* [L#489704] Fix invalid share sizes after a directory merge (poy)
* Satisfy some boost lockfree requirements, could fix bugs on heavy load
+* Clean up earlier after receiving zlib data (thanks irainman)
Note: The hash registry will be upgraded when running this version for the
first time. Make sure all your drives are connected to avoid re-hashing.
=== modified file 'dcpp/BufferedSocket.cpp'
--- dcpp/BufferedSocket.cpp 2013-01-24 20:18:18 +0000
+++ dcpp/BufferedSocket.cpp 2013-01-27 18:04:17 +0000
@@ -61,6 +61,11 @@
return;
}
+ if(mode == MODE_ZPIPE && filterIn) {
+ // delete the filter when going out of zpipe mode.
+ filterIn.reset();
+ }
+
switch (aMode) {
case MODE_LINE:
rollback = aRollback;