Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Wether to send an HAProxy PROXY protocol header.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 8.2 Yes Yes Yes Yes Yes
MBS( "CURL.SetOptionHAProxyProtocol"; curl; Value )   More


Parameter Description Example value
curl The CURL session handle. $curl
Value The new setting, 1 or 0 1


Returns OK or error.


Wether to send an HAProxy PROXY protocol header.
A value 1 tells the library to send an HAProxy PROXY protocol header at beginning of the connection. The default action is not to send this header.
This option is primarily useful when sending test requests to a service that expects this header.
Most applications do not need this option.
Default 0, do not send HAProxy PROXY protocol header.

See also HAPROXYPROTOCOL option in CURL manual.

See also

Blog Entries

Created 16th May 2018, last changed 16th May 2018

CURL.SetOptionGet   -   CURL.SetOptionHTTP200Aliases

Feedback: Report problem or ask question.

MBS Xojo tutorial videos