Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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