From: Daniel Stenberg Date: Mon, 22 Dec 2025 21:36:23 +0000 (+0100) Subject: CURLOPT_HAPROXY_CLIENT_IP.md: emphasize reused connection use X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=230ee539e65d534dec4d58e0829421f8bdfd098a;p=thirdparty%2Fcurl.git CURLOPT_HAPROXY_CLIENT_IP.md: emphasize reused connection use Closes #20075 --- diff --git a/docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md b/docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md index af42b73b79..01b7156d15 100644 --- a/docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md +++ b/docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md @@ -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