Adding SocketChannel toString to connection exception messages

Bernd Eckenfels ecki at zusammenkunft.net
Wed Jan 3 12:10:50 UTC 2018


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/d229479c/attachment.html>


More information about the net-dev mailing list