On Mon, 10 Mar 2025 at 19:12, Aurelien DARRAGON <adarra...@haproxy.com> wrote:
>
>
> On 3/10/25 18:39, Aurelien DARRAGON wrote:
> >
> > resolver's code is probably trying to establish the connection attempt
> > over and over without any tempo between 2 attempts.
>
> Looks like this is the bit of code responsible for instantaneous
> connection (re)attempt when a previous one just failed:
>
> > index 14c811a10..737e48244 100644
> > --- a/src/dns.c
> > +++ b/src/dns.c
> > @@ -912,6 +912,7 @@ static void dns_session_release(struct appctx *appctx)
> >
> >         /* Create a new appctx, We hope we can
> >          * create from the release callback! */
> > +       // THERE
> >         ds->appctx = dns_session_create(ds);
> >         if (!ds->appctx) {
> >                 dns_session_free(ds);
>
> The applet is unconditionally re-creating itself upon release()


I have filed an issue so it is not forgotten - especially since this
is a minor issue:

https://github.com/haproxy/haproxy/issues/2909


Lukas


Reply via email to