diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-02-04 15:05:25 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-04 18:34:03 -0800 |
commit | 0f4f015737297ac5245d0be9ee83553770ade0a9 (patch) | |
tree | 5e8b96f127d85878e278a19c1297dc64f6196804 /lib/rainbows.rb | |
parent | f015a843fcfa120286628ec75829575ee2391380 (diff) | |
download | rainbows-0f4f015737297ac5245d0be9ee83553770ade0a9.tar.gz |
It supports IPv6 and pulls in a better Kgio. Since Unicorn defaults to ":tcp_nopush => true", we need to flip it back to false to be compatible with the types of apps Rainbows! is targetted as.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r-- | lib/rainbows.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb index 8c1bed9..8271d25 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -9,6 +9,10 @@ Unicorn::SocketHelper::DEFAULTS.merge!({ # write(headers)-write(body)-read # because we always write headers and bodies with two calls :tcp_nodelay => true, + + # we always want to send our headers out ASAP since Rainbows! + # is designed for apps that could trickle out the body slowly + :tcp_nopush => false, }) module Rainbows |