From 2eb58a62a5e738c287db8239f4f4e8d1d02ed328 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 11 Jan 2011 16:43:10 -0800 Subject: Rainbows! 3.0.0 - serving the fastest apps to slow clients faster! There is one incompatible change: We no longer assume application authors are crazy and use strangely-cased headers for "Content-Length", "Transfer-Encoding", and "Range". This allows us to avoid the case-insensitivity of Rack::Utils::HeaderHash for a speed boost on the few apps that already serve thousands of requests/second per-worker. :Coolio got "async.callback" support like :EventMachine, but it currently lacks EM::Deferrables which would allow us to call "succeed"/"fail" callbacks. This means only one-shot response writes are supported. There are numerous internal code cleanups and several bugfixes for handling partial static file responses. --- GIT-VERSION-GEN | 2 +- lib/rainbows/const.rb | 2 +- lib/rainbows/coolio.rb | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 671d859..017ae4b 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.1.0.GIT +DEF_VER=v3.0.0.GIT LF=' ' diff --git a/lib/rainbows/const.rb b/lib/rainbows/const.rb index d877f87..62610bd 100644 --- a/lib/rainbows/const.rb +++ b/lib/rainbows/const.rb @@ -2,7 +2,7 @@ # :enddoc: module Rainbows::Const - RAINBOWS_VERSION = '2.1.0' + RAINBOWS_VERSION = '3.0.0' include Unicorn::Const diff --git a/lib/rainbows/coolio.rb b/lib/rainbows/coolio.rb index d0b8b2e..59bfde6 100644 --- a/lib/rainbows/coolio.rb +++ b/lib/rainbows/coolio.rb @@ -18,6 +18,9 @@ require 'rainbows/coolio_support' # allows the Rack application to process data as it arrives. This # means "rack.input" will be fully buffered in memory or to a # temporary file before the application is entered. +# +# This model is mostly compatible with users of "async.callback" in +# the Rack environment as long as they do not depend on EventMachine. module Rainbows::Coolio # :stopdoc: # keep-alive timeout scoreboard -- cgit v1.2.3-24-ge0c7