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()

Aurelien


Reply via email to