asyncudpserversocket reuse port
authorDave Watson <davejwatson@fb.com>
Mon, 30 Mar 2015 17:17:12 +0000 (10:17 -0700)
committerafrind <afrind@fb.com>
Thu, 2 Apr 2015 19:00:25 +0000 (12:00 -0700)
commit3e3afca6d0979b6ff45aa18b04b2d803e8f2d258
tree85796bcfe88436f0895f50bc21d7ef682dec8ed4
parent77c9cc673969bb90e92b13b505d38164249dd024
asyncudpserversocket reuse port

Summary:
AsyncUDPSocket supports reuse port, also make it available in AsyncUDPServerSocket.
Has to happen before bind

Test Plan:
?? it builds?

Mutliple binds already work with reuseaddr, but load balancing doesn't work as well.  See http://lwn.net/Articles/542629/ for details

Reviewed By: naizhi@fb.com

Subscribers: doug, fugalh, folly-diffs@, jsedgwick, yfeldblum, chalfant

FB internal diff: D1948932

Signature: t1:1948932:1427473013:8c114458a0746bb2b6957db33c1834179d860c00
folly/io/async/AsyncUDPServerSocket.h
folly/wangle/bootstrap/ServerSocketFactory.h