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 text was updated successfully, but these errors were encountered:
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