From: Eric Wong Date: 2021-10-01T04:48:00+00:00 Subject: [ruby-core:105517] Re: [Ruby master Feature#18228] Add a `timeout` option to `IO.copy_stream` "Eregon (Benoit Daloze)" wrote: > I wonder, can `sendfile(2)` be interrupted by a signal like SIGVTALRM like for read/write? > That might be another strategy to implement a timeout for it. For the socket/pipe ends, yes (if blocking), that is interruptible. Not for regular files (unless it's something like NFS mounted with interrupts enabled). > Feature #18228: Add a `timeout` option to `IO.copy_stream` > https://bugs.ruby-lang.org/issues/18228#change-93902 Unsubscribe: