Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/csync
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-12-01 16:37:47 +0300
committerOlivier Goffart <ogoffart@woboq.com>2014-12-01 16:37:47 +0300
commit512492bf30345cf861b930bd7db24c6611e442f1 (patch)
tree4a0972661008369f76b2c93849024a29ade84cb4 /csync
parent2477c3914e377de42c8e5fb733d484ab0f3e0cef (diff)
parentb154e1baa1ba7a03dfe5b78bf5b71d6ccb881359 (diff)
Merge remote-tracking branch 'origin/1.7'
Conflicts: src/libsync/propagatedownload.cpp
Diffstat (limited to 'csync')
-rw-r--r--csync/src/httpbf/src/httpbf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/csync/src/httpbf/src/httpbf.c b/csync/src/httpbf/src/httpbf.c
index 40080240e..3c5f2107d 100644
--- a/csync/src/httpbf/src/httpbf.c
+++ b/csync/src/httpbf/src/httpbf.c
@@ -503,6 +503,8 @@ Hbf_State hbf_transfer( ne_session *session, hbf_transfer_t *transfer, const cha
if( transfer->block_cnt > 1 ) {
ne_add_request_header(req, "OC-Chunked", "1");
+ snprintf(buf, sizeof(buf), "%"PRId64, transfer->threshold);
+ ne_add_request_header(req, "OC-Chunk-Size", buf);
}
ne_add_request_header( req, "Content-Type", "application/octet-stream");