From 2fc559a4ca5266b7e72b746f60e4ee6078a27f25 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 30 Nov 2004 17:11:14 +0000 Subject: 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 --- actionpack/lib/action_controller/cgi_process.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib') 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) -- cgit v1.2.3