diff options
-rw-r--r-- | docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.3 b/docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.3 index bed24a870..91eea1ba6 100644 --- a/docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.3 +++ b/docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.3 @@ -33,11 +33,11 @@ send some traffic on existing connections in order to keep them alive; this can prevent connections from being closed due to overzealous firewalls, for example. -The user needs to explicitly call \fIcurl_easy_conn_upkeep(3)\fP in order to +The user needs to explicitly call \fIcurl_easy_upkeep(3)\fP in order to perform the upkeep work. Currently the only protocol with a connection upkeep mechanism is HTTP/2: when -the connection upkeep interval is exceeded and \fIcurl_easy_conn_upkeep(3)\fP +the connection upkeep interval is exceeded and \fIcurl_easy_upkeep(3)\fP is called, an HTTP/2 PING frame is sent on the connection. .SH DEFAULT @@ -56,10 +56,10 @@ if(curl) { /* Perform more work here. */ - /* While the connection is being held open, curl_easy_conn_upkeep() can be - called. If curl_easy_conn_upkeep() is called and the time since the last + /* While the connection is being held open, curl_easy_upkeep() can be + called. If curl_easy_upkeep() is called and the time since the last upkeep exceeds the interval, then an HTTP/2 PING is sent. */ - curl_easy_conn_upkeep(curl); + curl_easy_upkeep(curl); /* Perform more work here. */ |