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:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
CURL.SetOptionQuickExit
Whether to allow to exit quickly.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionQuickExit"; curl; Flag ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Flag | The new setting. | 1 |
Result
Returns OK or error.
Description
Whether to allow to exit quickly.Pass a number as a parameter, 1 meaning that when recovering from a timeout, libcurl should skip lengthy cleanups that are intended to avoid all kinds of leaks (threads etc.), as the caller program is about to call exit() anyway. This allows for a swift termination after a DNS timeout for example, by canceling and/or forgetting about a resolver thread, at the expense of a possible (though short-lived) leak of associated resources.
This should not be needed to be used in FileMaker.
See also QUICK_EXIT option in CURL manual.
See also
Release notes
- Version 13.0
- Added CURL.SetOptionCACacheTimeout and CURL.SetOptionQuickExit functions.
Blog Entries
Created 22nd December 2022, last changed 12nd January 2023
