Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionUpkeepIntervalMS
Connection upkeep interval.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionUpkeepIntervalMS"; curl; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | The new interval. |
Result
Returns OK or error.
Description
Connection 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.
See also
Release notes
- Version 8.5
Blog Entries
Created 31st October 2018, last changed 31st October 2018