[ruby-core:81217] Re: [Ruby trunk Feature#13396] Net::HTTP has no write timeout

From: Eric Wong <normalperson@...>
Date: 2017-05-17 19:32:14 UTC
List: ruby-core #81217
jean.boussier@gmail.com wrote:
> > I would also like to add native timeout support to IO.copy_stream
> 
> That would be the best indeed.

Maybe not exactly...  Lately, I've also been thinking about
implementing Timeout.timeout natively the RubyVM; so IO (and
other blocking) operations may automatically be timeout-aware
w/o needing interrupts.  Obviously, there will be some APIs
where interrupts are needed (flock, for example), but we can
reuse timer thread.

Anyways, first I am working on auto-Fiber scheduling...

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next