curl/docs
Patrick Monnerat e44ddfd477 mime: clone mime tree upon easy handle duplication.
A mime tree attached to an easy handle using CURLOPT_MIMEPOST is
strongly bound to the handle: there is a pointer to the easy handle in
each item of the mime tree and following the parent pointer list
of mime items ends in a dummy part stored within the handle.

Because of this binding, a mime tree cannot be shared between different
easy handles, thus it needs to be cloned upon easy handle duplication.

There is no way for the caller to get the duplicated mime tree
handle: it is then set to be automatically destroyed upon freeing the
new easy handle.

New test 654 checks proper mime structure duplication/release.

Add a warning note in curl_mime_data_cb() documentation about sharing
user data between duplicated handles.

Closes #2235
2018-01-14 19:43:12 +01:00
..
cmdline-opts scripts: allow all perl scripts to be run directly 2018-01-07 15:42:11 -05:00
examples scripts: allow all perl scripts to be run directly 2018-01-07 15:42:11 -05:00
libcurl mime: clone mime tree upon easy handle duplication. 2018-01-14 19:43:12 +01:00
.gitignore
BINDINGS.md BINDINGS: another PostgreSQL client 2017-12-07 11:10:22 +01:00
BUGS BUGS: spellchecked 2017-11-20 23:57:57 +01:00
CHECKSRC.md
CIPHERS.md
CMakeLists.txt
CODE_OF_CONDUCT.md docs: Update to secure URL versions 2017-09-04 14:08:54 +00:00
CODE_STYLE.md
CONTRIBUTE.md
curl-config.1 curl-config: add --ssl-backends 2017-12-06 00:12:48 +01:00
FAQ FAQ: s/CURLOPT_PROGRESSFUNCTION/CURLOPT_XFERINFOFUNCTION 2017-10-09 16:13:27 +02:00
FEATURES
HELP-US.md HELP-US: rename the subtitle too since the label is changed 2017-10-27 11:19:44 +02:00
HISTORY.md HISTORY: added some recent items 2017-09-07 09:51:25 +02:00
HTTP2.md
HTTP-COOKIES.md
INSTALL
INSTALL.cmake
INSTALL.md
INTERNALS.md INTERNALS: we may use libidn2 now, not libidn 2017-11-14 12:47:04 +01:00
KNOWN_BUGS KNOWN_BUGS: Remove CMake symbol hiding issue 2017-09-07 17:33:49 +02:00
LICENSE-MIXING.md
MAIL-ETIQUETTE MAIL-ETIQUETTE: added "1.9 Your emails are public" 2017-09-05 09:29:11 +02:00
Makefile.am make: fix "make distclean" 2017-11-24 08:38:29 +01:00
MANUAL
mk-ca-bundle.1
README.cmake
README.md
README.netware
README.win32
RELEASE-PROCEDURE RELEASE-PROCEDURE: update the release schedule 2017-10-04 09:03:04 +02:00
RESOURCES RESOURCES: update spec names 2017-12-04 09:15:39 +01:00
ROADMAP.md ROADMAP: cleanup 2017-10-28 10:54:20 +02:00
SECURITY.md
SSL-PROBLEMS.md
SSLCERTS.md
THANKS THANKS: added missing names 2017-12-12 08:46:29 +01:00
THANKS-filter RELEASE-NOTES: 7.56.1 2017-10-23 07:51:20 +02:00
TheArtOfHttpScripting
TODO TODO: Expose tried IP addresses that failed 2017-12-11 13:41:03 +01:00
VERSIONS

curl logo

Documentation

You'll find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you'd rather see the rendered version of the documentation, check out the curl web site's documentation section for general curl stuff or the libcurl section for libcurl related documentation.