Changeset 5146
- Timestamp:
- 09/18/06 23:52:03 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/cgi_process.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r5131 r5146 1 1 *SVN* 2 3 * Rescue Errno::ECONNRESET to handle an unexpectedly closed socket connection. Improves SCGI reliability. #3368, #6226 [sdsykes, fhanshaw@vesaria.com] 2 4 3 5 * Added that respond_to blocks will automatically set the content type to be the same as is requested [DHH]. Examples: trunk/actionpack/lib/action_controller/cgi_process.rb
r4866 r5146 174 174 output.binmode if output.respond_to?(:binmode) 175 175 output.sync = false if output.respond_to?(:sync=) 176 176 177 177 begin 178 178 output.write(@cgi.header(@headers)) … … 190 190 191 191 output.flush if output.respond_to?(:flush) 192 rescue Errno::EPIPE => e193 # lost connection to the FCGI process -- ignore the output, then192 rescue Errno::EPIPE, Errno::ECONNRESET 193 # lost connection to parent process, ignore output 194 194 end 195 195 end