Go to file
Daniel Stenberg 74b87a8af1
lib: move mimepost data from ->req.p.http to ->state
When the legacy CURLOPT_HTTPPOST option is used, it gets converted into
the modem mimpost struct at first use. This data is (now) kept for the
entire transfer and not only per single HTTP request. This re-enables
rewind in the beginning of the second request instead of in end of the
first, as brought by 1b39731.

The request struct is per-request data only.

Extend test 650 to verify.

Fixes #11680
Reported-by: yushicheng7788 on github
Closes #11682
2023-08-17 23:49:57 +02:00
.circleci CI: enable parallel make in more builds 2023-06-24 14:40:39 -07:00
.github workflows/macos.yml: disable zstd and alt-svc in the http-only build 2023-08-17 16:58:58 +02:00
.reuse cmake: add support for single libcurl compilation pass 2023-08-01 08:12:26 +00:00
CMake build: streamline non-UWP wincrypt detections 2023-08-13 13:51:19 +00:00
docs lib: --disable-bindlocal builds curl without local binding support 2023-08-17 17:17:59 +02:00
include CURLINFO_CERTINFO.3: better explain curl_certinfo struct 2023-08-16 03:21:49 -04:00
lib lib: move mimepost data from ->req.p.http to ->state 2023-08-17 23:49:57 +02:00
LICENSES copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
m4 egd: delete feature detection and related source code 2023-08-01 21:58:56 +00:00
packages os400: do not check translatable options at build time 2023-08-17 17:34:57 +02:00
plan9 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
projects tool: add "variable" support 2023-07-31 11:51:34 +02:00
scripts egd: delete feature detection and related source code 2023-08-01 21:58:56 +00:00
src trace: make tracing available in non-debug builds 2023-08-03 17:32:25 +02:00
tests lib: move mimepost data from ->req.p.http to ->state 2023-08-17 23:49:57 +02:00
winbuild tool: add "variable" support 2023-07-31 11:51:34 +02:00
.azure-pipelines.yml CI: don't run CI jobs if only another CI was changed 2023-04-24 20:46:09 -07:00
.cirrus.yml CI: enable parallel make in more builds 2023-06-24 14:40:39 -07:00
.dcignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.dir-locals.el copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.git-blame-ignore-revs copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.gitattributes copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.mailmap mailmap: add Derzsi Dániel 2023-07-31 08:29:16 +02:00
acinclude.m4 build: streamline non-UWP wincrypt detections 2023-08-13 13:51:19 +00:00
appveyor.yml CI: make Appveyor job names unique 2023-06-28 01:07:21 -07:00
buildconf copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
buildconf.bat copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CHANGES curl.se: new home 2020-11-04 23:59:47 +01:00
CMakeLists.txt cmake: add GnuTLS option 2023-08-17 08:17:39 +02:00
configure.ac lib: --disable-bindlocal builds curl without local binding support 2023-08-17 17:17:59 +02:00
COPYING copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
GIT-INFO GIT-INFO: add --with-openssl 2023-05-14 23:22:23 +02:00
libcurl.def trace: make tracing available in non-debug builds 2023-08-03 17:32:25 +02:00
libcurl.pc.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
MacOSX-Framework copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am cmake: add support for single libcurl compilation pass 2023-08-01 08:12:26 +00:00
Makefile.dist copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
maketgz copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
README docs: minor grammar fixes 2022-09-29 10:44:12 +02:00
README.md README.md: updated link to opencollective 2023-06-02 11:29:15 +02:00
RELEASE-NOTES RELEASE-NOTES: synced 2023-08-16 11:11:24 +02:00
SECURITY.md copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00

curl logo

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how.

You can find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Commercial support

For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.

Website

Visit the curl website for the latest news and downloads.

Git

To download the latest source from the Git server, do this:

git clone https://github.com/curl/curl.git

(you will get a directory named curl created, filled with the source code)

Security problems

Report suspected security problems via our HackerOne page and not in public.

Notice

Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.

Backers

Thank you to all our backers! 🙏 Become a backer.

Sponsors

Support this project by becoming a sponsor.