Name
easy:SetOpt_HAProxyProtocol -- send HAProxy PROXY protocol v1 header (V2.0)
Synopsis
easy:SetOpt_HAProxyProtocol(haproxy_protocol)
Function
A parameter get to 1 tells the library to send an HAProxy PROXY protocol v1 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.

Inputs
haproxy_protocol
input value

Show TOC