Hi.

Am 11.10.19 um 16:10 schrieb B. Cook:
> I'm using haproxy to peer two Internet connections.
> 
> 8< -- SNIP -- >8
> 
> defaults

[snipp]

> backend squid_backend
>         retry-on none # all-retryable-errors
>         server sqd-00.120 10.20.0.120:3128 tfo check send-proxy-v2 #
> maxconn 8192
>         server sqd-32.201 10.20.32.201:3128 tfo check send-proxy-v2 #
> maxconn 8192
> 
> the check is sending "something", the stats page says L4 is OK..
> 
> How can I actually check that squid is passing data?

You can put a proxy command to the option httpcheck something like this, 
untested.

option httpchk GET http://CHECK_HOST/URI HTTP/1.1\r\n\r\n

My suggestion to get the proper syntax call `curl -v --proxy ... destination 
url` .

Doc for his option.
http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#4-option%20httpchk

Regards
Aleks

Reply via email to