summaryrefslogtreecommitdiff
path: root/lib/altsvc.h
Commit message (Collapse)AuthorAgeFilesLines
* altsvc: clone setting in curl_easy_duphandlebagder/altsvc-duphandleDaniel Stenberg2020-09-061-1/+2
| | | | | | | | | | | | The cache content is not duplicated, like other caches, but the setting and specified file name are. Test 1908 is extended to verify this somewhat. Since the duplicated handle gets the same file name, the test unfortunately overwrites the same file twice (with different contents) which makes it hard to check automatically. Closes #5923
* llist: make it "struct Curl_llist"Daniel Stenberg2020-09-021-2/+2
| | | | | | As internal global names should use captical C. Closes #5906
* altsvc: remove the num field from the altsvc structDaniel Stenberg2020-06-121-1/+0
| | | | | | | | It was superfluous since we have the list.size alredy Reported-by: Jay Satiro Fixes #5553 Closes #5563
* altsvc: make saving the cache an atomic operationDaniel Stenberg2020-02-181-4/+5
| | | | | | | | ... by writing the file to temp name then rename to the final when done. Assisted-by: Jay Satiro Fixes #4936 Closes #4942
* alt-svc: add protocol version selection maskingDaniel Stenberg2019-08-081-13/+14
| | | | | | | | | | | So that users can mask in/out specific HTTP versions when Alt-Svc is used. - Removed "h2c" and updated test case accordingly - Changed how the altsvc struct is laid out - Added ifdefs to make the unittest run even in a quiche-tree Closes #4201
* alt-svc: the libcurl bitsDaniel Stenberg2019-03-031-0/+77