DnsClient TCP socket timeout

Milan Mimica milan.mimica at gmail.com
Thu Jul 18 09:32:42 UTC 2019


On Thu, 18 Jul 2019 at 11:23, Chris Hegarty <chris.hegarty at oracle.com> wrote:
> > Have you ever considered the problem reported here:
> > https://stackoverflow.com/questions/14603553/dns-query-freezes-with-dnscontextfactory-in-java
>
> I posted a comment on that SO thread yesterday, no reply since.

Hi Chris

This exception must have been thrown from
DatagramSocket::receive(DatagramPacket p), not from TCP socket. So it
does not cover the case when TCP socket gets stuck, in the fallback
flow for truncated UDP responses.


-- 
Milan Mimica


More information about the core-libs-dev mailing list