1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: haproxy-protocol
5Help: Send HAProxy PROXY protocol v1 header
6Protocols: HTTP
7Added: 7.60.0
8Category: http proxy
9Multi: boolean
10See-also:
11  - proxy
12Example:
13  - --haproxy-protocol $URL
14---
15
16# `--haproxy-protocol`
17
18Send a HAProxy PROXY protocol v1 header at the beginning of the connection.
19This is used by some load balancers and reverse proxies to indicate the
20client's true IP address and port.
21
22This option is primarily useful when sending test requests to a service that
23expects this header.
24