diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-10 15:22:06 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-10 15:22:45 -0800 |
commit | c158f140e6a402278602b3be890c2c1dc494465d (patch) | |
tree | 3c4bbbaf3f3fece448c3a66785f1a7c13dd63389 | |
parent | cd8a874d18fe01e11bb57b91186b6c9f712a4b3f (diff) | |
download | rainbows-c158f140e6a402278602b3be890c2c1dc494465d.tar.gz |
Ugh, and still no usable IO.copy_stream under 1.9.2 :<
-rw-r--r-- | Static_Files | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Static_Files b/Static_Files index 080d52b..3ced433 100644 --- a/Static_Files +++ b/Static_Files @@ -9,7 +9,7 @@ to simplify your deployments and only deploy one server? == {sendfile}[http://rubygems.org/gems/sendfile] RubyGem -To enable the "sendfile" gem, just make sure you have 1.0.0 or later and +To enable the "sendfile" gem, just make sure you have 1.1.0 or later and "require" it in your \Rainbows!/Unicorn config file (not your Rack config.ru): @@ -26,7 +26,7 @@ config.ru): The sendfile gem is works for all of our concurrency models except NeverBlock and EventMachine (see below). -The sendfile gem is less buggy than current (Ruby 1.9.2-rc2) +The sendfile gem is less buggy than current (Ruby 1.9.2) IO.copy_stream and supports FreeBSD and Solaris in addition to Linux. This RubyGem also works under Ruby 1.8 (even with threads) and should work with rubinius.git, too. @@ -40,9 +40,9 @@ their Writer* variants use the core IO.copy_stream method under Ruby 1.9. IO.copy_stream uses sendfile() under Linux, and a pread()/write() loop (implemented in C) on other systems. -IO.copy_stream under Linux with Ruby 1.9.3 (and before) is also +IO.copy_stream under Linux with Ruby 1.9.2 (and before) is also subject to hanging indefinitely when a client disconnected prematurely. -This issue is fixed in Ruby trunk (July 2010). +This issue is fixed in Ruby trunk (r28557, July 2010). \Rainbows! supports IO.copy_stream since v0.93.0 |