libuv/src
Ben Noordhuis 9d60f1ebda linux: don't turn on SO_REUSEPORT socket option
On the BSDs, SO_REUSEPORT is pretty much SO_REUSEADDR with some special
casing for IP multicast.  When two processes (that don't do multicast)
bind to the same address, only the last one receives traffic.  It allows
one to "steal" the bound address from another process.  (Both processes
have to enable SO_REUSEPORT though, so it only works in a cooperative
setting.)

On Linux however, it enables port sharing, not stealing - both processes
receive a share of the traffic.  This is a desirable trait but pre-3.9
kernels don't support the socket option and a libuv program therefore
behaves differently with older kernels or on another platform.

The difference in behavior (sharing vs. stealing) is, in my opinion,
big enough and confusing enough that it merits a rollback.  People
that want this kind of functionality can prepare the socket manually
and hand it off to uv_udp_open().

This commit effectively reverts commit 17452cd.
2013-08-25 21:38:39 +02:00
..
unix linux: don't turn on SO_REUSEPORT socket option 2013-08-25 21:38:39 +02:00
win windows: reimplement uv_fs_stat using NT syscalls 2013-08-24 19:13:51 +02:00
fs-poll.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
inet.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
queue.h windows: omit stdint.h, fix msvc 2008 build error 2013-08-20 14:06:35 +02:00
uv-common.c unix, windows: fix ipv6 link-local address parsing 2013-08-19 22:38:51 +02:00
uv-common.h windows: move INLINE macro, remove UNUSED 2013-08-12 07:22:19 +02:00
version.c Now working on v0.11.11 2013-08-24 19:46:03 +02:00