diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-11-30 17:11:14 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-11-30 17:11:14 +0000 |
commit | 2fc559a4ca5266b7e72b746f60e4ee6078a27f25 (patch) | |
tree | beeb249dc315fd0d32575595a8a32e8b4fcc96fd | |
parent | bcfd649de8850e3bfc9584eb12be8fe136ca6985 (diff) | |
download | rails-2fc559a4ca5266b7e72b746f60e4ee6078a27f25.tar.gz rails-2fc559a4ca5266b7e72b746f60e4ee6078a27f25.tar.bz2 rails-2fc559a4ca5266b7e72b746f60e4ee6078a27f25.zip |
A change in attempt to combat periodical errors with FCGI processes hanging for a long time before returning the response
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@29 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | actionpack/lib/action_controller/cgi_process.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/cgi_process.rb b/actionpack/lib/action_controller/cgi_process.rb index e69a0b2f8d..8610f60854 100644 --- a/actionpack/lib/action_controller/cgi_process.rb +++ b/actionpack/lib/action_controller/cgi_process.rb @@ -105,6 +105,7 @@ module ActionController #:nodoc: def out convert_content_type!(@headers) $stdout.binmode if $stdout.respond_to?(:binmode) + $stdout.sync = false print @cgi.header(@headers) if @body.respond_to?(:call) @body.call(self) |