diff options
author | Alexandre Ferrieux <alexandre.ferrieux@orange.com> | 2022-07-12 23:40:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-11-18 00:17:27 +0100 |
commit | 49798cac832ab12c52b642930448e2f6eaedb982 (patch) | |
tree | e448da4f301e79162b90ec784d991ca154170405 /include | |
parent | b473df52bbd887cf98d985b65f5f4adce25c07d5 (diff) | |
download | curl-49798cac832ab12c52b642930448e2f6eaedb982.tar.gz |
CURLOPT_QUICK_EXIT: don't wait for DNS thread on exit
Fixes #2975
Closes #9147
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 6b8b10bd1..efbba31f8 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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; |