Re: Performing URL rewriting and re-resolving new URL using configured DNS

2020-09-11 Thread francis Lavalliere
Hello, Haproxy is a great tool indeed. And as long as you are able to add some dynamic template generation of haproxy config based on your own business logic I believe you should be good. You could leverage consul / consul-template and have the haproxy regenerates bases on your business

Re: Bind socket not exists from time to time?

2019-04-11 Thread francis Lavalliere
tly wondering if anyone had that kind of issue (i know using sockets file isnt much people are using). - Francis L. On Thu, Apr 11, 2019 at 12:19 PM Willy Tarreau wrote: > Hello Francis, > > On Thu, Apr 11, 2019 at 11:20:57AM -0400, francis Lavalliere wrote: > > Hello, > > > &g

Bind socket not exists from time to time?

2019-04-11 Thread francis Lavalliere
Hello, Anyone else would have seen this behavior before? I am currently using HAProxy 1.9.3 I have an "haproxy / consul template" that generate an haproxy-x.sock file, from time to time when my config reloads, I find out after a few minutes that the service doesn't work and actually the

Re: invalid port numbers in 'show servers state' with SRV records

2018-09-19 Thread francis Lavalliere
Hello, In server.c on line 2912 I believe the server state file is unsigned long and when loaded back its being compared with USHRT_MAX In my own development environment I had commented the following if statement, as server state is fully controlled by the haproxy and everything was

Re: Observations about reloads and DNS SRV records

2018-08-21 Thread francis Lavalliere
This is related to the discourse thread (And also discuss the issues in ML instead of discourse). https://discourse.haproxy.org/t/config-reload-with-dynamic-service-discovery-via-dns/2625/10 Here are the findings from my ends: 1 - State file / Port range invalid conversion In the haproxy