Permalink
Browse files

Send back the response immediately

  • Loading branch information...
1 parent 4415c28 commit 683936cd917e8b7c178d49bc523bf63f8c6a58fd @lifo lifo committed Feb 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cramp/abstract.rb
View
@@ -55,7 +55,7 @@ def halt(status, headers = {}, halt_body = '')
end
def send_response(response_status, response_headers, response_body)
- EM.next_tick { @env['async.callback'].call [response_status, response_headers, response_body] }
+ @env['async.callback'].call [response_status, response_headers, response_body]
end
def request

0 comments on commit 683936c

Please sign in to comment.