[Pkg-owncloud-commits] [owncloud-client] 412/498: Propagator: Log chunk transferid
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit fd5330b469e23084d4ebe683b5fb030dd4c5e338
Author: Markus Goetz <markus at woboq.com>
Date: Thu Jul 30 17:46:38 2015 +0200
Propagator: Log chunk transferid
---
src/libsync/propagateupload.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libsync/propagateupload.cpp b/src/libsync/propagateupload.cpp
index 3a39626..cada1c3 100644
--- a/src/libsync/propagateupload.cpp
+++ b/src/libsync/propagateupload.cpp
@@ -454,6 +454,7 @@ void PropagateUploadFileQNAM::startNextChunk()
int sendingChunk = (_currentChunk + _startChunk) % _chunkCount;
// XOR with chunk size to make sure everything goes well if chunk size change between runs
uint transid = _transferId ^ chunkSize();
+ qDebug() << "Upload chunk" << sendingChunk << "of" << _chunkCount << "transferid(remote)=" << transid;
path += QString("-chunking-%1-%2-%3").arg(transid).arg(_chunkCount).arg(sendingChunk);
headers["OC-Chunked"] = "1";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list