|Mac & Win
Whether to disallow reusing connections.
(old name: CURL.SetOptionForbitReuse)
|The CURL session handle.
|Whether to disallow reusing connections.
Returns "OK" on success.
DescriptionWhether to disallow reusing connections.
Set to 1 to make the next transfer explicitly close the connection when done. Normally, libcurl keeps all connections alive when done with one transfer in case a succeeding one follows that can re-use them. This option should be used with caution and only if you understand what it does. Set to 0 to have libcurl keep the connection open for possible later re-use (default behavior).
see also CURL.SetOptionFreshConnect.
See also FORBID_REUSE option in CURL manual.
Forbit reusing connection:
Forbit reuse and make fresh connection:
Created 18th August 2014, last changed 20th April 2018