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?
to your account
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.
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
The text was updated successfully, but these errors were encountered:
urldata: move the cookefilelist to the 'set' struct
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'.
Successfully merging a pull request may close this issue.