aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fcgi_fixes.rb
blob: 387995a90836f90c0cfbef4956d9cf9872c2cdbb (plain)
1
2
3
4
5
6
7
8
9
10
# Changed by mySociety 2008-03-10 to get dynamic FastCGI working.
# See also http://dev.rubyonrails.org/ticket/5399 - gah!

# Hopefully fixed in later Rails. There is a test in spec/libs/fcgi_handler.rb

require 'railties/lib/fcgi_handler.rb'

# Monkeypatch!
RailsFCGIHandler::SIGNALS['TERM'] = :exit