Patrick Monnerat
|
b2caaa0681
mime: fix the binary encoder to handle large data properly
|
4 years ago |
Patrick Monnerat
|
ed0f357f7d
mime: do not perform more than one read in a row
|
4 years ago |
Patrick Monnerat
|
87869e38d7
mime: latch last read callback status.
|
4 years ago |
Daniel Stenberg
|
2ba62322a7
mime: make Curl_mime_duppart() assert if called without valid dst
|
5 years ago |
Daniel Stenberg
|
ac58c51b29
mime: when disabled, avoid C99 macro
|
5 years ago |
Daniel Stenberg
|
b95456f4e2
mime: acknowledge CURL_DISABLE_MIME
|
5 years ago |
Marcel Raad
|
6b3dde7fe6
build: fix "clarify calculation precedence" warnings
|
5 years ago |
Daniel Stenberg
|
179927c12a
mime: put the boundary buffer into the curl_mime struct
|
5 years ago |
Daniel Stenberg
|
d390541944
mime: check Curl_rand_hex's return code
|
6 years ago |
Marian Klymov
|
c45360d463
cppcheck: fix warnings
|
6 years ago |
Daniel Stenberg
|
cb529b713f
checksrc: make sure sizeof() is used *with* parentheses
|
6 years ago |
Daniel Stenberg
|
ba67f7d65a
mime: avoid NULL pointer dereference risk
|
6 years ago |
Eric Gallager
|
a19fefb070
build: add picky compiler warning flags for gcc 6 and 7
|
6 years ago |
luz.paz
|
236402fc2d
cleanup: misc typos in strings and comments
|
6 years ago |
Daniel Stenberg
|
84ad1fd304
formdata: use the mime-content type function
|
6 years ago |
Patrick Monnerat
|
e44ddfd477
mime: clone mime tree upon easy handle duplication.
|
6 years ago |
Daniel Stenberg
|
cd79b53191
mime: fix "Value stored to 'sz' is never read" scan-build error
|
7 years ago |
Patrick Monnerat
|
cea27d3454
mime: do not reuse previously computed multipart size
|
7 years ago |
Patrick Monnerat
|
a8742efe42
mime: limit bas64-encoded lines length to 76 characters
|
7 years ago |
Patrick Monnerat
|
d7e4230538
mime: do not call failf() if easy handle is NULL.
|
7 years ago |
Daniel Stenberg
|
5f9e2ca09b
mime: fix the content reader to handle >16K data properly
|
7 years ago |
Patrick Monnerat
|
0401734dfd
mime: keep "text/plain" content type if user-specified.
|
7 years ago |
Patrick Monnerat
|
06cb8adde2
mime: properly unbind mime structure in curl_mime_free().
|
7 years ago |
Patrick Monnerat
|
ebcbed3821
mime: refuse to add subparts to one of their own descendants.
|
7 years ago |
Patrick Monnerat
|
112ea5adb6
mime: avoid resetting a part's encoder when part's contents change.
|
7 years ago |
Patrick Monnerat
|
b557182db1
mime: improve unbinding top multipart from easy handle.
|
7 years ago |
Patrick Monnerat
|
93e62adde8
mime: be tolerant about setting twice the same header list in a part.
|
7 years ago |
Patrick Monnerat
|
ee56fdb691
form/mime: field names are not allowed to contain zero-valued bytes.
|
7 years ago |
Patrick Monnerat
|
a7bcf274cc
mime: rephrase the multipart output state machine (#1898) ...
|
7 years ago |
Patrick Monnerat
|
f304201868
mime: fix an explicit null dereference (#1899)
|
7 years ago |