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.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Whether to disallow reusing connections.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
(old name: CURL.SetOptionForbitReuse)
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to disallow reusing connections. | 0 |
Returns "OK" on success.
See also FORBID_REUSE option in CURL manual.
Forbit reusing connection:
MBS( "CURL.SetOptionForbitReuse"; $curl; 1 )
Forbit reuse and make fresh connection:
Set Variable [$EmailID; Value: MBS( "CURL.SetOptionForbitReuse"; $curl; 1 ) ]
Set Variable [$EmailID; Value: MBS( "CURL.SetOptionFreshConnect"; $curl; 1 ) ]
Created 18th August 2014, last changed 20th April 2018
CURL.SetOptionFollowLocation - CURL.SetOptionFreshConnect
Feedback: Report problem or ask question.