| commit | 71bb004c29631117ab03d90a4214d1515da5a895 | [log] [tgz] |
|---|---|---|
| author | Stefan Eissing <stefan@eissing.org> | Wed May 28 13:27:19 2025 +0200 |
| committer | Daniel Stenberg <daniel@haxx.se> | Wed May 28 14:53:02 2025 +0200 |
| tree | 6398831d43b0454a07475661697e97611f317d46 | |
| parent | d16ccbd55de80c271fe822f4ba8b6271fd9166ff [diff] |
http: fail early when rewind of input failed when following redirects When inspecting a possible follow HTTP request, the result of a rewind of the upload data was ignored as it was not clear at that point in time if the request would become a GET. This initiated the followup, rewound again, which failed again and terminated the follow up. This was confusing to users as it was not clear of the follow up was done or not. Fix: fail the early rewind when the request is not converted to GET. Fixes #17472 Closes #17474 Reported-by: Jeroen Ooms
curl is a command-line tool for transferring data specified with URL syntax. Learn how to use curl by reading the manpage or everything curl.
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 manpage to learn how.
curl is Open Source and is distributed under an MIT-like license.
Contact us on a suitable mailing list or use GitHub issues/ pull requests/ discussions.
All contributors to the project are listed in the THANKS document.
For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.
Visit the curl website for the latest news and downloads.
Download the latest source from the Git server:
git clone https://github.com/curl/curl.git
Report suspected security problems via our HackerOne page and not in public.
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.
Thank you to all our backers :pray: Become a backer.
Support this project by becoming a sponsor.