]> granicus.if.org Git - curl/commit
lib555: drop text conversion and encode data as ascii codes
authorPatrick Monnerat <patrick@monnerat.net>
Fri, 26 Jan 2018 16:45:20 +0000 (17:45 +0100)
committerPatrick Monnerat <patrick@monnerat.net>
Fri, 26 Jan 2018 16:45:20 +0000 (17:45 +0100)
commitbd5b9e50ce10e75048c3f584b2c7784d31504f0c
tree4f7e01c14d217f69de30b58c7a3212c396bd5a20
parenta6b611f0d01aff9d0d0d411928c9103c8036af75
lib555: drop text conversion and encode data as ascii codes

If CURL_DOES_CONVERSION is enabled, uploaded LFs are mapped to CRLFs,
giving a result that is different from what is expected.
This commit avoids using CURLOPT_TRANSFERTEXT and directly encodes data
to upload in ascii.

Bug: https://github.com/curl/curl/pull/1872
tests/data/test555
tests/libtest/lib555.c