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
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
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
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