Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2    Statistic    FMM    Blog  


Sets the maximum connection age.

Component Version macOS Windows Linux Server iOS SDK
CURL 9.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionMaxAgeConn"; curl; Age )   More


Parameter Description Example
curl The CURL session handle. $curl
Age The age in seconds. 180


Returns OK or error.


Sets the maximum connection age.
The maximum age the connection should have in seconds.
Older connections are not reused, but discarded.

See also MAXAGE_CONN option in CURL manual.

See also

Release notes

Blog Entries

Created 22nd May 2019, last changed 23th May 2019

CURL.SetOptionMailRecipients - CURL.SetOptionMaxConnects

Feedback: Report problem or ask question.

Start Chat