Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use (multiple) CURLOPT_COOKIEFILE for an easy handle to load cookies from multiple input files.
CURLOPT_COOKIEFILE
Then call curl_easy_duphandle() and run an identical transfer. The cookies are not loaded from the files set to be used in the original handle.
curl_easy_duphandle()
curl_easy_duphandle() is intended to make a "perfect" copy and should then also keep the list of file names to read from.
7.87.0 and all previous versions
independent
The text was updated successfully, but these errors were encountered:
urldata: move the cookefilelist to the 'set' struct
4440069
The cookiefile entries are set into the handle and should remain set for the lifetime of the handle so that duplicating it also duplicates the list. Therefore, the struct field is moved from 'state' to 'set'. Fixes #10133
af5999a
bagder
Successfully merging a pull request may close this issue.
I did this
Use (multiple)
CURLOPT_COOKIEFILE
for an easy handle to load cookies from multiple input files.Then call
curl_easy_duphandle()
and run an identical transfer. The cookies are not loaded from the files set to be used in the original handle.I expected the following
curl_easy_duphandle()
is intended to make a "perfect" copy and should then also keep the list of file names to read from.curl/libcurl version
7.87.0 and all previous versions
operating system
independent
The text was updated successfully, but these errors were encountered: