From 94729ce4e41a446f2c197772fc408adf89834140 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 May 2026 08:19:36 +0200 Subject: [PATCH] CURLOPT_HAPROXYPROTOCOL.md: only sent for newly setup connections Closes #21517 --- docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md b/docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md index 77ef0e06f3..1cfb53de60 100644 --- a/docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md +++ b/docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md @@ -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