RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-03 Thread Dimitar Mavrodiev
SOCKS server, which is perhaps worth another fix. Best, Dimitar Mavrodiev

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-06 Thread Dimitar Mavrodiev
Yes, I've disabled IPv6 and it came out as successful in the report. Is it possible that jtreg behaves differently across different OSes? I am using it on Linux and OSX, the bug report mentions Windows. On Mon, Jan 6, 2014 at 6:16 PM, Chris Hegarty wrote: > On 06/01/14 16:05, Dimitar M

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-06 Thread Dimitar Mavrodiev
Ok, better safe than sorry. Here's the webrev https://googledrive.com/host/0B2CI6Ih--1t5bVVwbVlBRmpVMDg/3/index.html. Best, Dimitar On Mon, Jan 6, 2014 at 6:31 PM, Chris Hegarty wrote: > On 06/01/14 16:18, Dimitar Mavrodiev wrote: > >> Yes, I've disabled IPv6 and it cam

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-06 Thread Dimitar Mavrodiev
http://hg.openjdk.java.net/jdk9/dev/jdk/file/tip/test/ > sun/net/www/protocol/http/StreamingOutputStream.java. > > > > On 05/01/14 11:09, Alan Bateman wrote: > >> On 03/01/2014 11:04, Dimitar Mavrodiev wrote: >> >>> Greetings all, >>> >>> I

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-06 Thread Dimitar Mavrodiev
drive.com/host/0B2CI6Ih--1t5bVVwbVlBRmpVMDg/1/index.html> . Best, Dimitar On Sun, Jan 5, 2014 at 1:09 PM, Alan Bateman wrote: > On 03/01/2014 11:04, Dimitar Mavrodiev wrote: > > Greetings all, > > I've fixed this and created a test to cover it, is there a sponsor who > cou

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-06 Thread Dimitar Mavrodiev
The jtreg version I am using(4.1 fcs b05) seems to be correctly handling it. What jtreg version should I be using? On Mon, Jan 6, 2014 at 5:52 PM, Alan Bateman wrote: > On 06/01/2014 15:21, Dimitar Mavrodiev wrote: > >> Thanks, Chris. >> >> I've removed the dependen

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-07 Thread Dimitar Mavrodiev
if the IPv6 stack is available and there is an IPv6 address assigned on the loopback iface. -Dimitar On Tue, Jan 7, 2014 at 11:57 AM, Alan Bateman wrote: > On 06/01/2014 16:39, Dimitar Mavrodiev wrote: > >> Ok, better safe than sorry. Here's the webrev >> https://googledr

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-08 Thread Dimitar Mavrodiev
Unfortunately I don't have a Windows environment. I'll try to setup one and look into this. -Dimitar On Tue, Jan 7, 2014 at 11:36 PM, Alan Bateman wrote: > On 07/01/2014 12:29, Dimitar Mavrodiev wrote: > >> Hi Alan, >> >> I've fixed that. Here&#x

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-11 Thread Dimitar Mavrodiev
d the test now runs successfully (I ran it at least a dozen of times). The culprit for these intermittent failures on Windows seems to be jdk/test/java/net/Socks/SocksServer.java, I haven't exactly located the problem yet. -Dimitar On Wed, Jan 8, 2014 at 12:08 PM, Dimitar Mavrodiev wrote: &g

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-13 Thread Dimitar Mavrodiev
v/ > > If you agree, I’ll fold my patch into yours, run the changes through our > automated build and test system, then push if all passes ok. > > -Chris. > > On 13 Jan 2014, at 18:21, Dimitar Mavrodiev wrote: > > > Hi Alan, > > > > I believe to have

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-13 Thread Dimitar Mavrodiev
tempt, but instead keeps on trying until a timeout occurs or end of stream is reached (much like DataInputStream#readFully(..)). -Dimitar On Sat, Jan 11, 2014 at 2:58 PM, Dimitar Mavrodiev wrote: > Hi Alan, > > I finally had the chance to put together a windows build environment(Win7) &

Re: RFR: 7100957 : Java doesn't correctly handle the SOCKS protocol when used over IPv6

2014-01-14 Thread Dimitar Mavrodiev
Hi Chris, I agree with those changes. Thank you and Alan for sponsoring this patch. On Tue, Jan 14, 2014 at 10:28 AM, Chris Hegarty wrote: > On 13 Jan 2014, at 19:29, Chris Hegarty wrote: > > > On 13 Jan 2014, at 19:23, Dimitar Mavrodiev > wrote: > > > >> Hi Chr