Re: DnsClient TCP socket timeout

2019-07-24 Thread Pavel Rappo
I have created an issue to track this: https://bugs.openjdk.java.net/browse/JDK-8228580 > Hello list > > Have you ever considered the problem reported here: > > https://stackoverflow.com/questions/14603553/dns-query-freezes-with-dnscontextfactory-in-java > > > A DNS query gets stuck easil

Re: DnsClient TCP socket timeout

2019-07-18 Thread Chris Hegarty
Milan, You could be right, I’d need to look into the code a little more. It was not clear to me, from either your post or SO, that the issue only occurs when falling back to TCP. -Chris. > On 18 Jul 2019, at 10:35, Milan Mimica wrote: > > Stack trace for reference: > java.net.SocketInputStre

Re: DnsClient TCP socket timeout

2019-07-18 Thread Milan Mimica
Stack trace for reference: java.net.SocketInputStream.socketRead0 line: not available [native method] java.net.SocketInputStream.read line: 150 java.net.SocketInputStream.read line: 121 java.io.BufferedInputStream.fill line: 246 java.io.BufferedInputStream.read line: 265 com.sun.j

Re: DnsClient TCP socket timeout

2019-07-18 Thread Milan Mimica
On Thu, 18 Jul 2019 at 11:23, Chris Hegarty 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

Re: DnsClient TCP socket timeout

2019-07-18 Thread Chris Hegarty
> On 18 Jul 2019, at 10:16, Milan Mimica wrote: > > Hello list > > 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. -Chris