Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-21 | mime: fix "Value stored to 'sz' is never read" scan-build error | Daniel Stenberg | |
2017-10-20 | mime: do not reuse previously computed multipart size | Patrick Monnerat | |
The contents might have changed: size must be recomputed. Reported-by: moteus on github Fixes #1999 | |||
2017-10-19 | mime: limit bas64-encoded lines length to 76 characters | Patrick Monnerat | |
2017-10-13 | mime: do not call failf() if easy handle is NULL. | Patrick Monnerat | |
2017-10-13 | mime: fix the content reader to handle >16K data properly | Daniel Stenberg | |
Reported-by: Jeroen Ooms Closes #1988 | |||
2017-10-12 | mime: keep "text/plain" content type if user-specified. | Patrick Monnerat | |
Include test cases in 554, 587, 650. Fixes https://github.com/curl/curl/issues/1986 | |||
2017-10-09 | mime: properly unbind mime structure in curl_mime_free(). | Patrick Monnerat | |
This allows freeing a mime structure bound to the easy handle before curl_easy_cleanup(). Fixes #1970. | |||
2017-10-08 | mime: refuse to add subparts to one of their own descendants. | Patrick Monnerat | |
Reported-by: Alexey Melnichuk Fixes #1962 | |||
2017-10-08 | mime: avoid resetting a part's encoder when part's contents change. | Patrick Monnerat | |
2017-10-08 | mime: improve unbinding top multipart from easy handle. | Patrick Monnerat | |
Also avoid dangling pointers in referencing parts. | |||
2017-10-08 | mime: be tolerant about setting twice the same header list in a part. | Patrick Monnerat | |
2017-09-22 | form/mime: field names are not allowed to contain zero-valued bytes. | Patrick Monnerat | |
Also suppress length argument of curl_mime_name() (names are always zero-terminated). | |||
2017-09-20 | mime: rephrase the multipart output state machine (#1898) ... | Patrick Monnerat | |
... in hope coverity will like it much. | |||
2017-09-20 | mime: fix an explicit null dereference (#1899) | Patrick Monnerat | |
2017-09-18 | mime:escape_string minor clarification change | Daniel Stenberg | |
... as it also removes a warning with old gcc versions. Bug: https://curl.haxx.se/mail/lib-2017-09/0049.html Reported-by: Ben Greear | |||
2017-09-11 | code style: use spaces around pluses | Daniel Stenberg | |
2017-09-11 | code style: use spaces around equals signs | Daniel Stenberg | |
2017-09-11 | Curl_checkheaders: make it available for IMAP and SMTP too | Daniel Stenberg | |
... not only HTTP uses this now. Closes #1875 | |||
2017-09-06 | mime: drop internal FILE * support. | Patrick Monnerat | |
- The part kind MIMEKIND_FILE and associated code are suppressed. - Seek data origin offset not used anymore: suppressed. - MIMEKIND_NAMEDFILE renamed MIMEKIND_FILE; associated fields/functions renamed accordingly. - Curl_getformdata() processes stdin via a callback. | |||
2017-09-05 | mime: fix a trivial warning. | Patrick Monnerat | |
2017-09-05 | mime: replace 'struct Curl_mimepart' by 'curl_mimepart' in encoder code. | Patrick Monnerat | |
mime_state is now a typedef. | |||
2017-09-05 | mime: implement encoders. | Patrick Monnerat | |
curl_mime_encoder() is operational and documented. curl tool -F option is extended with ";encoder=". curl tool --libcurl option generates calls to curl_mime_encoder(). New encoder tests 648 & 649. Test 1404 extended with an encoder specification. | |||
2017-09-05 | mime: unified to use the typedef'd mime structs everywhere | Daniel Stenberg | |
... and slightly edited to follow our code style better. | |||
2017-09-04 | mime: use CURL_ZERO_TERMINATED in examples | Viktor Szakats | |
and some minor whitespace fixes | |||
2017-09-03 | mime: use size_t instead of ssize_t in public API interface. | Patrick Monnerat | |
To support telling a string is nul-terminated, symbol CURL_ZERO_TERMINATED has been introduced. Documentation updated accordingly. symbols in versions updated. Added form API symbols deprecation info. | |||
2017-09-03 | mime: remove support "-" stdin pseudo-file name in curl_mime_filedata(). | Patrick Monnerat | |
This feature is badly supported in Windows: as a replacement, a caller has to use curl_mime_data_cb() with fread, fseek and possibly fclose callbacks to process opened files. The cli tool and documentation are updated accordingly. The feature is however kept internally for form API compatibility, with the known caveats it always had. As a side effect, stdin size is not determined by the cli tool even if possible and this results in a chunked transfer encoding. Test 173 is updated accordingly. | |||
2017-09-03 | mime: fix some implicit curl_off_t --> size_t conversion warnings. | Patrick Monnerat | |
2017-09-02 | mime: new MIME API. | Patrick Monnerat | |
Available in HTTP, SMTP and IMAP. Deprecates the FORM API. See CURLOPT_MIMEPOST. Lib code and associated documentation. |