projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
817a165
)
Propagator: Log chunk transferid
author
Markus Goetz
<markus@woboq.com>
Thu, 30 Jul 2015 15:46:38 +0000
(17:46 +0200)
committer
Markus Goetz
<markus@woboq.com>
Thu, 30 Jul 2015 15:47:06 +0000
(17:47 +0200)
src/libsync/propagateupload.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/propagateupload.cpp
b/src/libsync/propagateupload.cpp
index 3a396260afff0c7a9bb2831ba792a8463dacb796..cada1c31dc3fd29690ac3043d6e7057985d205c0 100644
(file)
--- 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";