|Examples||Mac & Win||Server||Client||Guides||Statistic||FMM||Blog||Deprecated||Old|
Connection upkeep interval.
|CURL||8.5||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|curl||The CURL session handle.||$curl|
|Value||The new interval.|
Returns OK or error.
DescriptionConnection upkeep interval.
Some protocols have "connection upkeep" mechanisms. These mechanisms usually 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 Upkeep 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 Upkeep is called, an HTTP/2 PING frame is sent on the connection.
See also UPKEEP_INTERVAL_MS option in CURL manual.
- Version 8.5
Created 31st October 2018, last changed 31st October 2018