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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionHAProxyProtocol
Whether to send an HAProxy PROXY protocol header.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 8.2 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.SetOptionHAProxyProtocol"; curl; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | The new setting, 1 or 0 | 1 |
Result
Returns OK or error.
Description
Whether 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
Release notes
- Version 8.2
Created 16th May 2018, last changed 28th November 2019
CURL.SetOptionGet - CURL.SetOptionHTTP200Aliases
Feedback: Report problem or ask question.
Links
MBS Xojo blog