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.hega...@oracle.com>
Sent: Wednesday, January 3, 2018 1:39:46 PM
To: Bernd Eckenfels
Cc: net-dev@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 
<e...@zusammenkunft.net<mailto:e...@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

Reply via email to