]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_HAPROXYPROTOCOL.md: only sent for newly setup connections
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 May 2026 06:19:36 +0000 (08:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 May 2026 07:11:30 +0000 (09:11 +0200)
Closes #21517

docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md

index 77ef0e06f33f0677059d815917f33009fd8ad9bc..1cfb53de6012ee77cd264e4d8d141019b94c0ee3 100644 (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