Change #264788
| Category | curl |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Fri 17 Apr 2026 10:01:49 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 70281e39becfa6fd37dbbd24d6fc73b96ed9fea6 |
Comments
haproxy: use correct ip version on client supplied address When a user supplies an IP address to use for the HAPROXY protocol, the IP version reported must be deduced from the address and has no relation to the IP version used for the upstream connection. Add test3220 to verify. Fixes #21340 Reported-by: Fiona Klute Closes #21341
Changed files
- docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md
- lib/cf-haproxy.c
- tests/data/Makefile.am
- tests/data/test3201
- tests/data/test3202
- tests/data/test3220