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

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