mirror of https://github.com/rails/rails
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
This commit is contained in:
parent
bcfd649de8
commit
2fc559a4ca
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue