Permalink
Browse files

Patched so the plugin will work with Passenger

git-svn-id: svn+ssh://rubyforge.org/var/svn/spawn/spawn@28 2aabfe31-cc40-457c-aec7-21ad9ce7fb7d
  • Loading branch information...
1 parent 33fbf4c commit 0c4bc86c447d250643ae1ffb417917919c9b377e tra committed Mar 9, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/patches.rb
View
3 lib/patches.rb
@@ -62,6 +62,7 @@ def process_client(client)
end
end
+# Patch for work with passenger
if defined? Passenger::Railz::RequestHandler
class Passenger::Railz::RequestHandler
alias_method :orig_process_request, :process_request
@@ -71,4 +72,4 @@ def process_request(headers, input, output)
orig_process_request(headers, input, output)
end
end
-end
+end

0 comments on commit 0c4bc86

Please sign in to comment.