]> git.ipfire.org Git - thirdparty/curl.git/commit
mime: fix the binary encoder to handle large data properly
authorPatrick Monnerat <patrick@monnerat.net>
Wed, 29 Jan 2020 04:30:08 +0000 (05:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 1 Mar 2020 23:00:59 +0000 (00:00 +0100)
commitb2caaa0681f329eed317ffb6ae6927f4a539f0c1
tree4b4bffa51ace56e703dc8f082b5af50a79d7dd8f
parented0f357f7d25566110d4302f33759f4ffb5a6f83
mime: fix the binary encoder to handle large data properly

New test 666 checks this is effective.
As upload buffer size is significant in this kind of tests, shorten it
in similar test 652.

Fixes #4860
Reported-by: RuurdBeerstra on github
lib/mime.c
tests/data/Makefile.inc
tests/data/test666 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib652.c
tests/libtest/lib666.c [new file with mode: 0644]