On 10/19/21 4:56 PM, Ty Martin wrote:
> That `--haproxy-protocol` option seems like it should have done the
> trick. Am I just shooting myself in the foot with bad curl commands?
It look like curl --haproxy-protocol does not work the way you want for
HTTPS requests sent through HTTP proxies:
> c
Shucks. No dice. I tried the following three variations, which all resulted
in the same "invalid magic" proxy protocol errors in the squid logs and
connection aborted errors in the curl logs as before:
```
curl --haproxy-protocol --proxy http://:@localhost:3128 -v
https://www.google.com
curl --hap