easy:SetOpt_Quick_Exit -- allow to exit quickly (V2.0)
Synopsis
easy:SetOpt_Quick_Exit(value)
Function
Pass 1 to indicate 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.