diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-07-04 19:28:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-07-04 19:28:50 +0200 |
commit | ccc8092b053a0e83cb95af154e2580b9644a9a1a (patch) | |
tree | 0d0e383b721a4ac60f96aa457c7404f026064ce9 /lib/urldata.h | |
parent | 127d04aadfd249ba19d11b8afe8de9f6fbf37782 (diff) | |
download | curl-ccc8092b053a0e83cb95af154e2580b9644a9a1a.tar.gz |
urldata: store dns cache timeout in an int
68 years ought to be enough for most.
Closes #9097
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index e815e8316..6523d7461 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1743,7 +1743,7 @@ struct UserDefined { struct ssl_config_data proxy_ssl; /* user defined SSL stuff for proxy */ #endif struct ssl_general_config general_ssl; /* general user defined SSL stuff */ - long dns_cache_timeout; /* DNS cache timeout */ + int dns_cache_timeout; /* DNS cache timeout (seconds) */ long buffer_size; /* size of receive buffer to use */ unsigned int upload_buffer_size; /* size of upload buffer to use, keep it >= CURL_MAX_WRITE_SIZE */ |