I'm using haproxy to peer two Internet connections.

8< -- SNIP -- >8

defaults
 mode           http
 http-reuse      aggressive # safe
 log             global
 option          httplog # clf
 option          dontlognull
 option splice-auto
 balance hdr(host)
 option tcp-smart-accept
 option tcp-smart-connect
 option redispatch
 option clitcpka
 option contstats
 option http-keep-alive
    timeout connect 10s
    timeout client 60s
    timeout server 60s
    timeout tunnel  30m    # timeout to use with WebSocket and CONNECT
  load-server-state-from-file global
 option http-no-delay

listen  stats
        mode http
        stats   enable
        bind    :9999 tfo
        stats   show-node
        stats   uri     /stats
        stats   refresh 30s

frontend haproxy_frontend
        backlog 16384
        bind 10.20.0.30:3128 tfo
        use_backend squid_backend
compression algo gzip
compression type text/html text/plain text/css text/xml
text/javascript application/x-javascript application/xml
application/json

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?

-- 

This message may contain confidential information and is intended only for 
the individual(s) named. If you are not an intended recipient you are not 
authorized to disseminate, distribute or copy this e-mail. Please notify 
the sender immediately if you have received this e-mail by mistake and 
delete this e-mail from your system.

Reply via email to