diff options
author | Marc Laukien <marc@zeroc.com> | 2004-06-29 18:28:25 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-06-29 18:28:25 +0000 |
commit | f098ebef83642e89e32296f4448cce7ae9437f73 (patch) | |
tree | 642ce0df570dc1743dd19364d4ff8dcf962e8b4f /cpp/src/IcePatch/Client.cpp | |
parent | bug fix for empty local class (diff) | |
download | ice-f098ebef83642e89e32296f4448cce7ae9437f73.tar.bz2 ice-f098ebef83642e89e32296f4448cce7ae9437f73.tar.xz ice-f098ebef83642e89e32296f4448cce7ae9437f73.zip |
fixes
Diffstat (limited to 'cpp/src/IcePatch/Client.cpp')
-rw-r--r-- | cpp/src/IcePatch/Client.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp index 87154eb48f4..ceeab0fc9fe 100644 --- a/cpp/src/IcePatch/Client.cpp +++ b/cpp/src/IcePatch/Client.cpp @@ -484,8 +484,8 @@ typedef set<string> OrphanedSet; #endif void -IcePatch::Client::patch(const DirectoryDescPtr& dirDesc, const string& indent, Long& runningTotal, - Long patchTotal) const +IcePatch::Client::patch(const DirectoryDescPtr& dirDesc, const string& indent, + Long& runningTotal, Long patchTotal) const { OrphanedSet orphaned; if(_remove) @@ -683,9 +683,19 @@ IcePatch::Client::patch(const DirectoryDescPtr& dirDesc, const string& indent, L while(true) { // + // We don't want to use compression when we + // retrieve files, since files are pre-compressed + // already. (Disabling compression here is only + // relevant if a router is used. Otherwise, the + // icepatch server already gives us a proxy for + // the regular file with compression disabled.) + // + RegularPrx regular = RegularPrx::uncheckedCast(regDesc->reg->ice_compress(false)); + + // // Retrieve file from server. // - ByteSeq md5 = getRegular(regDesc->reg, progressCB); + ByteSeq md5 = getRegular(regular, progressCB); // // Get the latest file description from server, as |