From 25c9cf0d8420a971840297d9ca62e7dd9c05b09e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 7 Jan 2011 17:07:48 -0800 Subject: event_machine: fold write_response back into client No point in having too many modules to search around (for both hackers and the runtime). --- lib/rainbows/ev_core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/ev_core.rb') diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb index 79703e6..0bdaab3 100644 --- a/lib/rainbows/ev_core.rb +++ b/lib/rainbows/ev_core.rb @@ -22,7 +22,7 @@ module Rainbows::EvCore alive = headers.include?(Content_Length) || !!(%r{\Achunked\z}i =~ headers[Transfer_Encoding]) end - write_response(status, headers, body, alive) + ev_write_response(status, headers, body, alive) end def post_init -- cgit v1.2.3-24-ge0c7