mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:33:38 +03:00
conncache: connection alive checks intervals
Do not check if a particular connection is alive or not more than once every second. We did this on every connection reuse which is overkill when sending many requests to the same host. Closes #22169
This commit is contained in:
parent
00d5562650
commit
2f1e94eaed
4 changed files with 19 additions and 7 deletions
|
|
@ -75,7 +75,8 @@ void *Curl_conn_meta_get(struct connectdata *conn, const char *key);
|
|||
* Return TRUE iff the given connection is considered dead.
|
||||
*/
|
||||
bool Curl_conn_seems_dead(struct connectdata *conn,
|
||||
struct Curl_easy *data);
|
||||
struct Curl_easy *data,
|
||||
const struct curltime *pnow);
|
||||
|
||||
/**
|
||||
* Perform upkeep operations on the connection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue