CURLOPT_HAPROXYPROTOCOL.md: only sent for newly setup connections

Closes #21517
This commit is contained in:
Daniel Stenberg 2026-05-07 08:19:36 +02:00
parent 98d818cf2b
commit 94729ce4e4
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -33,6 +33,10 @@ send this header.
This option is primarily useful when sending test requests to a service that
expects this header.
Note that the HAProxy protocol message is only is sent over a freshly setup
connection. A subsequent transfer that reuses a previous connection does not
send it again.
Most applications do not need this option.
# DEFAULT