mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Attempt to explicitly flush the output at the end of CgiProcess#out
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
9b0bb24fe0
commit
d23d3bc360
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Attempt to explicitly flush the output at the end of CgiProcess#out
|
||||
|
||||
* Fixed assert_redirected_to to handle absolute controller paths properly #1472 [Rick Olson/Nicholas Seckar]
|
||||
|
||||
* Added event-based observations when frequency is not set on observe_field/form #1474 [flash@vanklinkenbergsoftware.nl]
|
||||
|
|
|
@ -139,6 +139,8 @@ module ActionController #:nodoc:
|
|||
else
|
||||
output.write(@body)
|
||||
end
|
||||
|
||||
output.flush if output.respond_to?(:flush)
|
||||
rescue Errno::EPIPE => e
|
||||
# lost connection to the FCGI process -- ignore the output, then
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue