CURLOPT_QUICK_EXIT: don't wait for DNS thread on exit

Fixes #2975
Closes #9147
This commit is contained in:
Alexandre Ferrieux 2022-07-12 23:40:05 +02:00 committed by Daniel Stenberg
parent b473df52bb
commit 49798cac83
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
11 changed files with 87 additions and 2 deletions

View file

@ -2201,6 +2201,9 @@ typedef enum {
/* CA cache timeout */
CURLOPT(CURLOPT_CA_CACHE_TIMEOUT, CURLOPTTYPE_LONG, 321),
/* Can leak things, gonna exit() soon */
CURLOPT(CURLOPT_QUICK_EXIT, CURLOPTTYPE_LONG, 322),
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;