Skip to content
Snippets Groups Projects
Commit 995d7daf authored by bors's avatar bors
Browse files

Auto merge of #1078 - johalun:so_reuseport_lb, r=alexcrichton

Add new FreeBSD socket option SO_REUSEPORT_LB.

FreeBSD 12, which is scheduled to be released soon, has a new socket option SO_REUSEPORT_LB.
From setsockopt man page:
     SO_REUSEPORT_LB allows completely duplicate bindings by multiple
     processes if they all set SO_REUSEPORT_LB before binding the port.
     Incoming TCP and UDP connections are distributed among the sharing
     processes based on a hash function of local port number, foreign IP
     address and port number. A maximum of 256 processes can share one socket.
parents caee8565 f80b0248
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment