about summary refs log tree commit homepage
path: root/lib/rainbows/reverse_proxy/event_machine.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/reverse_proxy/event_machine.rb')
-rw-r--r--lib/rainbows/reverse_proxy/event_machine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/reverse_proxy/event_machine.rb b/lib/rainbows/reverse_proxy/event_machine.rb
index 8cb382c..d92254d 100644
--- a/lib/rainbows/reverse_proxy/event_machine.rb
+++ b/lib/rainbows/reverse_proxy/event_machine.rb
@@ -30,7 +30,7 @@ module Rainbows::ReverseProxy::EventMachine
     end
 
     def unbind
-      @env[AsyncCallback].call(@response || Rainbows::ReverseProxy::E502)
+      @env['async.callback'].call(@response || Rainbows::ReverseProxy::E502)
     end
   end