Adding SocketChannel toString to connection exception messages

Bernd Eckenfels ecki at zusammenkunft.net
Wed Jan 3 13:28:18 UTC 2018


Hello,

Yes. i think OpenJDK has only a Socks Implementation, but it is a general problem that there is no API framework to communicate network problems with intermediates.

Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
From: Chris Hegarty <chris.hegarty at oracle.com>
Sent: Wednesday, January 3, 2018 1:39:46 PM
To: Bernd Eckenfels
Cc: net-dev at openjdk.java.net
Subject: Re: Adding SocketChannel toString to connection exception messages

Hi Bernd,

Are you specifically talking about a SOCKS proxy, or something else?

-Chris.

On 3 Jan 2018, at 12:10, Bernd Eckenfels <ecki at zusammenkunft.net<mailto:ecki at zusammenkunft.net>> wrote:

Hello,

Just to add to the discussion, if proxies are used, the error should make clear if the problem is connecting the proxy or the endpoint. And for that case (especially with multiple proxies) the actual failed address is also interesting for trouble shooting (in that case higher level code won’t have the information)

Gruss
Bernd
--
http://bernd.eckenfels.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20180103/b67324e5/attachment.html>


More information about the net-dev mailing list