summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_rep_writer.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_writer.erl b/src/couchdb/couch_rep_writer.erl
index 34d5f06c..d4f2fd31 100644
--- a/src/couchdb/couch_rep_writer.erl
+++ b/src/couchdb/couch_rep_writer.erl
@@ -22,7 +22,7 @@ start_link(Parent, Target, Reader, _PostProps) ->
make_chunk(Data) when is_list(Data) ->
make_chunk(list_to_binary(Data));
make_chunk(Data) ->
- [ibrowse_lib:dec2hex(4, size(Data)), "\r\n", Data, "\r\n"].
+ [ibrowse_lib:dec2hex(8, size(Data)), "\r\n", Data, "\r\n"].
upload_docs({start, Docs}) ->
Data = make_chunk(<<"{\"new_edits\":false, \"docs\":[">>),