On 12/14/22 12:06, Shawn Heisey wrote:
I built a gitlab CI config to test out changes to my build/install scripts.  I'm having some trouble with that where haproxy is not working right, I'll start a new thread.

Turned out that most of those problems were due to docker-related issues. And then I discovered that in my tiny little test config for haproxy I had the bind line for udp/443 all wrong.

The following command may be of interest to anyone testing out http3/quic support. It requires that you have docker installed. On Ubuntu that can be installed with "apt install docker.io".

sudo docker run --add-host=host.docker.internal:host-gateway --rm ymuski/curl-http3 curl -v -m 4 -s -f -k "https://host.docker.internal/test_file"; --http3 && echo GOOD

The curl options configure a 4 second absolute timeout, suppress the usual progress meter that curl shows, turn 4xx or 5xx response codes into a nonzero exit status, and disable certificate validation. Perfect for a CI/CD pipeline.

Thanks,
Shawn

Reply via email to