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 /lib/urldata.h | |
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 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 638763cf7..c50171e73 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1826,6 +1826,10 @@ struct UserDefined { /* Here follows boolean settings that define how to behave during this session. They are STATIC, set by libcurl users or at least initially and they don't change during operations. */ + BIT(quick_exit); /* set 1L when it is okay to leak things (like + threads), as we're about to exit() anyway and + don't want lengthy cleanups to delay termination, + e.g. after a DNS timeout */ BIT(get_filetime); /* get the time and get of the remote file */ BIT(tunnel_thru_httpproxy); /* use CONNECT through an HTTP proxy */ BIT(prefer_ascii); /* ASCII rather than binary */ |