From 7b655fcbadffc3a0297466f1527e05d4a8efe6b2 Mon Sep 17 00:00:00 2001 From: Max Dymond Date: Wed, 18 Apr 2018 16:40:17 +0100 Subject: upkeep: add a connection upkeep API: curl_easy_conn_upkeep() Add functionality so that protocols can do custom keepalive on their connections, when an external API function is called. Add docs for the new options in 7.62.0 Closes #1641 --- lib/url.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/url.h') diff --git a/lib/url.h b/lib/url.h index 618309d38..089613abd 100644 --- a/lib/url.h +++ b/lib/url.h @@ -77,6 +77,7 @@ int Curl_removeHandleFromPipeline(struct Curl_easy *handle, void Curl_getoff_all_pipelines(struct Curl_easy *data, struct connectdata *conn); +CURLcode Curl_conn_upkeep(struct conncache *conn_cache, void *data); #define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */ #define CURL_DEFAULT_HTTPS_PROXY_PORT 443 /* default https proxy port unless -- cgit v1.2.1