Patch for adding SO_REUSEPORT socket option

Alan Bateman Alan.Bateman at oracle.com
Fri Nov 20 22:52:52 UTC 2015



On 20/11/2015 20:59, Lu, Yingqi wrote:
>
> Hello All,
>
> We added Version 3 of the patch here. 
> http://cr.openjdk.java.net/~mcberg/jdk/6432031/webrev.03/ 
> <http://cr.openjdk.java.net/%7Emcberg/jdk/6432031/webrev.03/>
>
> It has the exact same implementation as Version 1 which implements 
> SO_REUSEPORT as the standard socket option. The only difference in 
> Version 3 is that we added 1 test file for testing set/get reuseport. 
> The file is located at ./jdk/test/java/net/Socket/setReusePort/Basic.java
>
>
The spec is going to need work if this is a standard option. I think 
we'll need to re-word some of the current javadoc for 
StandardSocketOptions.SO_REUSEPORT, in particular the references to the 
Linux 3.9+ and the links to lwn.net. Once we get that worded then it can 
be referenced from the java.net classes and should avoid some of the 
duplicate wording.

-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20151120/9ec6d884/attachment.html>


More information about the net-dev mailing list