Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionFreshConnect

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionFreshConnect"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value Whether to not reuse old connection for next transfer. 0

Result

Returns "OK" on success.

Description

Sets whether to not reuse old connections.
Set to 1 to make the next transfer use a new (fresh) connection by force. If the connection cache is full before this connection, one of the existing connections will be closed as according to the selected or default policy. This option should be used with caution and only if you understand what it does. Set this to 0 to have libcurl attempt re-using an existing connection (default behavior).

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Jugendzentrum Nickenich