diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-04-19 17:06:50 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-04-19 17:06:50 +0200 |
commit | 3da17b2b14e0537c9d326acb0310c9e3d6cb3130 (patch) | |
tree | 5b8733874d73360779405cef434566184cce4f3e | |
parent | d5a39d348db9b39a2ced28509f300a255ea4173e (diff) | |
download | curl-3da17b2b14e0537c9d326acb0310c9e3d6cb3130.tar.gz |
fixup change default max age to 118 secondsbagder/maxage-reuse-conn
-rw-r--r-- | docs/libcurl/opts/CURLOPT_MAXAGE_CONN.3 | 2 | ||||
-rw-r--r-- | lib/url.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_MAXAGE_CONN.3 b/docs/libcurl/opts/CURLOPT_MAXAGE_CONN.3 index 5f060ca9d..f91bf7a8d 100644 --- a/docs/libcurl/opts/CURLOPT_MAXAGE_CONN.3 +++ b/docs/libcurl/opts/CURLOPT_MAXAGE_CONN.3 @@ -41,7 +41,7 @@ due to the difficulties to figure out the situation. If a connection is found in the cache that is older than this set \fImaxage\fP, it will instead be closed. .SH DEFAULT -Default maxage is 120 seconds. +Default maxage is 118 seconds. .SH PROTOCOLS All .SH EXAMPLE @@ -541,7 +541,7 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data) set->fnmatch = ZERO_NULL; set->upkeep_interval_ms = CURL_UPKEEP_INTERVAL_DEFAULT; set->maxconnects = DEFAULT_CONNCACHE_SIZE; /* for easy handles */ - set->maxage_conn = 120; + set->maxage_conn = 118; set->http09_allowed = TRUE; set->httpversion = #ifdef USE_NGHTTP2 |