Disable userspace buffering on client sockets
commitce5868855c7bbd0aa82dcd60b2e27a3fd3d5f9fb
authorEric Wong <normalperson@yhbt.net>
Thu, 5 Feb 2009 10:34:27 +0000 (5 02:34 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 10 Feb 2009 03:50:39 +0000 (9 19:50 -0800)
tree50a467be11e78fdd727f014d37e698b566990a11
parent2dddf957462f2cdbd6f141f35e0292a70b62c5a6
Disable userspace buffering on client sockets

It's really pointless to allow stdio or something
similar to do any sort of buffering on a TCP socket
on a Linux box where syscalls are cheap and we have
TCP_CORK.
lib/unicorn.rb