Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Save altsvc cache in curl_easy_reset #4898
I did this
I expect this block to save the altsvc cache to "altsvc.txt" but it does not.
Currently, the alt svc cache is only saved in
It should also be saved when
I believe that adding
at https://github.com/curl/curl/blob/curl-7_68_0/lib/easy.c#L941 would address this issue.
I expected the following
The alt-svc cache survives a call to curl_easy_reset fine, but the file name to use for saving the cache was cleared. Now the alt-svc cache has a copy of the file name to survive handle resets. Added test 1908 to verify. Reported-by: Craig Andrews Fixes #4898