diff options
author | db <db@leap.se> | 2014-03-04 18:27:12 -0300 |
---|---|---|
committer | db <db@leap.se> | 2014-03-04 19:37:00 -0300 |
commit | deedca169e4702eebd9dfa1275918336e1c564ab (patch) | |
tree | fe53c0f0977129d301030db70aee9662fcde0a21 /debian/patches/fix-multipart-doc-parsing | |
parent | 2b93980ff5defefc57837eb26945957f9aa761bb (diff) |
Add patch to fix multipart doc parsing.debian
Diffstat (limited to 'debian/patches/fix-multipart-doc-parsing')
-rw-r--r-- | debian/patches/fix-multipart-doc-parsing | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/fix-multipart-doc-parsing b/debian/patches/fix-multipart-doc-parsing new file mode 100644 index 00000000..1cc28cb8 --- /dev/null +++ b/debian/patches/fix-multipart-doc-parsing @@ -0,0 +1,13 @@ +Index: cloudant_bigcouch/apps/couch/src/couch_doc.erl +=================================================================== +--- cloudant_bigcouch.orig/apps/couch/src/couch_doc.erl 2014-02-11 15:11:35.481759012 -0200 ++++ cloudant_bigcouch/apps/couch/src/couch_doc.erl 2014-03-04 18:25:27.181214925 -0300 +@@ -486,7 +486,7 @@ + doc_from_multi_part_stream(ContentType, DataFun) -> + Parent = self(), + Parser = spawn_link(fun() -> +- {<<"--">>, _, _} = couch_httpd:parse_multipart_request( ++ {<<"--",_/binary>>, _, _} = couch_httpd:parse_multipart_request( + ContentType, DataFun, + fun(Next) -> mp_parse_doc(Next, []) end), + unlink(Parent), |