diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-07-08 23:21:18 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-08 23:21:18 +0000 |
commit | 9abb447a573751b87e26ce35f4f05d58290f4c41 (patch) | |
tree | 1adb0dac9acd99c9add0880751c7e022003776ef /lib/rainbows/rev_fiber_spawn.rb | |
parent | 235985c6c4b37ed9a170c38052db3ef0772b1527 (diff) | |
download | rainbows-9abb447a573751b87e26ce35f4f05d58290f4c41.tar.gz |
Cramp monkey patches Rainbows internals for WebSockets support and we forgot about it. Add a new integration test to ensure this continues to work in the future (and force us to update the test for newer Cramp).
Diffstat (limited to 'lib/rainbows/rev_fiber_spawn.rb')
-rw-r--r-- | lib/rainbows/rev_fiber_spawn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/rev_fiber_spawn.rb b/lib/rainbows/rev_fiber_spawn.rb index 4d64e39..e9ea1db 100644 --- a/lib/rainbows/rev_fiber_spawn.rb +++ b/lib/rainbows/rev_fiber_spawn.rb @@ -16,7 +16,7 @@ module Rainbows include Fiber::Rev def worker_loop(worker) - Rainbows::HttpResponse.setup(Rainbows::Fiber::Rev::Server) + Rainbows::Response.setup(Rainbows::Fiber::Rev::Server) init_worker_process(worker) Server.const_set(:MAX, @worker_connections) Rainbows::Fiber::Base.setup(Rainbows::Fiber::Rev::Server, nil) |