Re: RFR : 8072384 : Setting IP_TOS on java.net sockets not working on unix

2015-06-04 Thread Michael McMahon
Sean, I'm happy with this change now. Thanks Michael On 25/05/15 15:01, Seán Coffey wrote: Jumping back on this issue...Michael identified a regression on linux with my last webrev. It was connected with IPv6 sockets connecting to IPv4 interfaces. Linux seems to cater for IP_TOS settings in

Re: RFR : 8072384 : Setting IP_TOS on java.net sockets not working on unix

2015-05-25 Thread Seán Coffey
Jumping back on this issue...Michael identified a regression on linux with my last webrev. It was connected with IPv6 sockets connecting to IPv4 interfaces. Linux seems to cater for IP_TOS settings in this area. I've modified my last webrev so that we only 'promote' IP_TOS requests to IPV6_TCL

Re: RFR : 8072384 : Setting IP_TOS on java.net sockets not working on unix

2015-03-25 Thread Seán Coffey
I didn't see any review on this request yet. I've modified the OptionsTest to test for IP_TOS on ServerSockets. The -Djava.net.preferIPv4Stack=true addition also allows the code to test both stacks where applicable. http://cr.openjdk.java.net/~coffeys/webrev.8072384.jdk9.v2/webrev/ regards, S

RFR : 8072384 : Setting IP_TOS on java.net sockets not working on unix

2015-02-27 Thread Seán Coffey
It looks like setting and getting the IP_TOS values on the java.net Sockets is currently broken for some scenarios. It's not possible to set the value on a ServerSocket via the jdk.net.Sockets.setOption API. See below for a webrev I'm proposing. It basically makes best efforts to set the IP_TOS