Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: joyent/libuv
base: 3780e1282306
Choose a base ref
...
head repository: joyent/libuv
compare: 7fd1e084fbfd
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 30, 2013

  1. 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.
    
    This is a back-port of commit 9d60f1e from the master branch.
    
    Fixes nodejs/node-v0.x-archive#6454.
    bnoordhuis committed Oct 30, 2013
    Copy the full SHA
    7fd1e08 View commit details
    Browse the repository at this point in the history