do not touch TCP_NOPUSH/TCP_CORK at all by default
commit7b107d66e84ad2e958d5574cb00770265dd117c2
authorEric Wong <normalperson@yhbt.net>
Mon, 6 Aug 2012 20:15:46 +0000 (6 20:15 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 6 Aug 2012 20:15:46 +0000 (6 20:15 +0000)
tree16350d8608c3ad13bf22a1028747cd2211234d09
parent53c375dc933b62b24df2c54d3938b03fa9da1f06
do not touch TCP_NOPUSH/TCP_CORK at all by default

On a certain FreeBSD 8.1 installation, explicitly setting
TCP_NOPUSH to zero (off) can cause EADDRNOTAVAIL errors and also
resets the listen backlog to 5.  Enabling TCP_NOPUSH explicitly
did not exhibit this issue for the user who (privately) reported
this issue.

To be on the safe side, we won't set/unset TCP_NOPUSH/TCP_CORK
at all, which will leave it off on all current systems.
lib/unicorn/socket_helper.rb