RFR(s): 8228580: DnsClient TCP socket timeout

Florian Weimer fweimer at redhat.com
Wed Sep 4 18:32:55 UTC 2019


* Pavel Rappo:

>> On 4 Sep 2019, at 18:54, Florian Weimer <fweimer at redhat.com> wrote:
>> 
>> You should use a larger timeout than the initial UDP timeout,
>> though.
>
> Could you elaborate on that?

If you use the initial UDP timeout (one second, I think), the kernel
will not complete the TCP handshake if the initial SYN segment is lost
because the retransmit delay during the handshake is longer than that.

Thanks,
Florian


More information about the core-libs-dev mailing list