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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets whether to not reuse old connections.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to not reuse old connection for next transfer. | 0 |
Returns "OK" on success.
See also FRESH_CONNECT option in CURL manual.
Request a fresh connection:
Set Variable [$r; Value: MBS( "CURL.SetOptionFreshConnect"; $curl; 1 )]
Forbit reuse and make fresh connection:
Set Variable [$EmailID; Value: MBS( "CURL.SetOptionForbidReuse"; $curl; 1 ) ]
Set Variable [$EmailID; Value: MBS( "CURL.SetOptionFreshConnect"; $curl; 1 ) ]
Created 18th August 2014, last changed 4th August 2023