Skip to content

Commit

Permalink
A change in attempt to combat periodical errors with FCGI processes h…
Browse files Browse the repository at this point in the history
…anging for a long time before returning the response

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@29 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Nov 30, 2004
1 parent bcfd649 commit 2fc559a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/lib/action_controller/cgi_process.rb
Expand Up @@ -105,6 +105,7 @@ def initialize(cgi)
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)
Expand Down

0 comments on commit 2fc559a

Please sign in to comment.