RFR 8004925: java/net/Socks/SocksV4Test.java failing on all platforms

Alan Bateman Alan.Bateman at oracle.com
Wed Dec 12 08:18:18 PST 2012


On 12/12/2012 16:15, Chris Hegarty wrote:
>
> On 12/12/2012 14:14, Alan Bateman wrote:
>> ....
>>> -Chris.
>> Would it be better if the test SocksServer had a list of knows that it
>> always rejects? That might speed up the test too as it would avoid is
>> trying to resolve host names or connect to hosts that don't exist.
>
> The UHE is thrown from the client socket connect(). The Server in this 
> case doesn't ever receive the destination address or host name. It is 
> simply replying to the initial/opening SOCKS handshake.
>
> The updated host name is still brittle ( if a .t TLD is ever 
> registered! ). I don't have a better alternative.
Okay, I don't see a better alternative either.

-Alan



More information about the net-dev mailing list