]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_HAPROXY_CLIENT_IP.md: emphasize reused connection use
authorDaniel Stenberg <daniel@haxx.se>
Mon, 22 Dec 2025 21:36:23 +0000 (22:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Dec 2025 21:53:14 +0000 (22:53 +0100)
Closes #20075

docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md

index af42b73b79cd87b04220582b3ef01b674bbfec64..01b7156d1511b32fa61d38f89b32738c9e2187a1 100644 (file)
@@ -40,6 +40,10 @@ previous ones. Set it to NULL to disable its use again.
 The application does not have to keep the string around after setting this
 option.
 
+Note that if you want to send a *different* HAProxy client IP in a subsequent
+request, you need to make sure that it is done over a fresh connection as
+libcurl does not send it again while reusing connections.
+
 # DEFAULT
 
 NULL, no HAProxy header is sent