Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.1 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 Statistic
Sets the persistent connection cache size.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|Handle||The CURL session handle.||$curl|
|Value||The new limit.||5|
Returns "OK" on success.
DescriptionSets the persistent connection cache size.
The set amount will be the maximum amount of simultaneously open connections that libcurl may cache in this easy handle. Default is 5, and there isn't much point in changing this value unless you are perfectly aware of how this works and changes libcurl's behaviour. This concerns connections using any of the protocols that support persistent connections.
When reaching the maximum limit, curl closes the oldest one in the cache to prevent increasing the number of open connections.
If you already have performed transfers with this curl handle, setting a smaller MaxConnects than before may cause open connections to get closed unnecessarily.
See also MAXCONNECTS option in CURL manual.
Created 18th August 2014, last changed 18th August 2014
Feedback: Report problem or ask question.
MBS Xojo tutorial videos