summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-09-07 13:18:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-07 13:18:03 +0200
commit0d8d4379c2a67569da9198f1d0838df49d41132b (patch)
treeabcf11fd55789ba4fe8b720b362a231d2b4be437
parenta01a5323e31b8aeabad0f45e1d3403c49887e833 (diff)
downloadcurl-bagder/upkeep-rename.tar.gz
fixup CURLOPT_UPKEEP_INTERVAL_MS.3bagder/upkeep-rename
-rw-r--r--docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.310
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. */