From 230ee539e65d534dec4d58e0829421f8bdfd098a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 22 Dec 2025 22:36:23 +0100 Subject: [PATCH] CURLOPT_HAPROXY_CLIENT_IP.md: emphasize reused connection use Closes #20075 --- docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md | 4 ++++ 1 file changed, 4 insertions(+) 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