Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4306

Show
Ignore:
Timestamp:
04/29/06 05:06:49 (2 years ago)
Author:
marcel
Message:

Use #flush between switching from #write to #syswrite. Closes #4907. [Blair Zajac <blair@orcaware.com>]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r4292 r4306  
    11*SVN* 
     2 
     3* Use #flush between switching from #write to #syswrite. Closes #4907. [Blair Zajac <blair@orcaware.com>] 
    24 
    35* Documentation fix: integration test scripts don't require integration_test. Closes #4914. [Frederick Ros <sl33p3r@free.fr>] 
  • trunk/actionpack/lib/action_controller/cgi_process.rb

    r4256 r4306  
    181181          return 
    182182        elsif @body.respond_to?(:call) 
     183          # Flush the output now in case the @body Proc uses 
     184          # #syswrite. 
     185          output.flush if output.respond_to?(:flush) 
    183186          @body.call(self, output) 
    184187        else