diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-08-20 00:46:28 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-08-20 00:47:45 +0000 |
commit | d74a4b4520f89ec2dbf539b02dea1f938c63d74c (patch) | |
tree | 391f1efe51ff5772f7601ad1a81155a8ab9c1901 | |
parent | f782ab61830ee92942abfcca7c7cb2cdd274e69d (diff) | |
download | rainbows-d74a4b4520f89ec2dbf539b02dea1f938c63d74c.tar.gz |
It doesn't seem to work at the top of the file...
-rw-r--r-- | .document | 33 | ||||
-rw-r--r-- | lib/rainbows/dev_fd_response.rb | 2 |
2 files changed, 33 insertions, 2 deletions
@@ -1,7 +1,38 @@ ChangeLog DEPLOY FAQ -lib +lib/rainbows.rb +lib/rainbows/actor_spawn.rb +lib/rainbows/app_pool.rb +lib/rainbows/base.rb +lib/rainbows/configurator.rb +lib/rainbows/coolio.rb +lib/rainbows/coolio_thread_pool.rb +lib/rainbows/coolio_thread_spawn.rb +lib/rainbows/dev_fd_response.rb +lib/rainbows/epoll.rb +lib/rainbows/event_machine.rb +lib/rainbows/fiber_pool.rb +lib/rainbows/fiber_spawn.rb +lib/rainbows/max_body.rb +lib/rainbows/never_block.rb +lib/rainbows/rev.rb +lib/rainbows/rev_fiber_spawn.rb +lib/rainbows/rev_thread_pool.rb +lib/rainbows/rev_thread_spawn.rb +lib/rainbows/revactor.rb +lib/rainbows/sendfile.rb +lib/rainbows/server_token.rb +lib/rainbows/stream_response_epoll.rb +lib/rainbows/thread_pool.rb +lib/rainbows/thread_spawn.rb +lib/rainbows/thread_timeout.rb +lib/rainbows/worker_yield.rb +lib/rainbows/writer_thread_pool.rb +lib/rainbows/writer_thread_spawn.rb +lib/rainbows/xepoll.rb +lib/rainbows/xepoll_thread_pool.rb +lib/rainbows/xepoll_thread_spawn.rb LATEST LICENSE NEWS diff --git a/lib/rainbows/dev_fd_response.rb b/lib/rainbows/dev_fd_response.rb index 5173157..7baccfc 100644 --- a/lib/rainbows/dev_fd_response.rb +++ b/lib/rainbows/dev_fd_response.rb @@ -69,7 +69,7 @@ class Rainbows::DevFdResponse < Struct.new(:app) [ status, headers, Body.new(io, "/dev/fd/#{fileno}", body) ] end - class Body < Struct.new(:to_io, :to_path, :orig_body) + class Body < Struct.new(:to_io, :to_path, :orig_body) # :nodoc: # called by the webserver or other middlewares if they can't # handle #to_path def each |