Actions
Bug #3484
closedIO.copy_stream w/sendfile fails on large files under 32-bit
ruby -v:
ruby 1.9.3dev (2010-06-26 trunk 28443) [i686-linux]
Backport:
Description
=begin
When IO.copy_stream uses sendfile() under 32-bit Linux, it fails for
large files (>2G) because a single sendfile() is limited to the maximum value
of ssize_t (LONG_MAX). Attached is a short patch that breaks up large sendfile()
calls and reuses the existing retry logic.
=end
Files
Actions
Like0
Like0Like0Like0Like0