[Libwebsockets] Avoiding DNS retries?
Jaco Kroon
jaco at uls.co.za
Fri Jun 25 09:20:10 CEST 2021
Hi,
man resolv.conf
options attempts:1
If you're this critical you may also want to look at things like
timeout. Various other things to tamper with here.
You can also use an environment variable called RES_OPTIONS to amend
that, all as per the man page.
Kind Regards,
Jaco
On 2021/06/25 06:05, andy at warmcat.com wrote:
>
> On June 25, 2021 3:26:15 AM UTC, Felipe Gasper <felipe at felipegasper.com> wrote:
>> Hello,
>>
>> I’ve noticed that LWS retries DNS lookups by default. Can I disable
>> this, so that the first lookup hard-fails?
>
> Can you explain your scenario a bit?
>
> -Andy
>
>> Thank you!
>>
>> cheers,
>> -Felipe
>> _______________________________________________
>> Libwebsockets mailing list
>> Libwebsockets at ml.libwebsockets.org
>> https://libwebsockets.org/mailman/listinfo/libwebsockets
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> https://libwebsockets.org/mailman/listinfo/libwebsockets
More information about the Libwebsockets
mailing list