From: Eric Wong Date: 2017-05-20T23:26:17+00:00 Subject: [ruby-core:81317] Re: [Ruby trunk Feature#13396] Net::HTTP has no write timeout naruse@airemix.jp wrote: > Only supports Linux: ...And only with sockets where O_NONBLOCK is not set, because the O_NONBLOCK flag will ignore SO_*TIMEO. Anyways, I don't think using SO_*TIMEO for Ruby is worth it. I think Ruby can gain an internal timeout mechanism which can hook into all rb_*wait* APIs and raise Timeout::TimeoutError as appropriate. I will consider that for my work-in-progress on auto-fibers; all APIs will have a timeout arg: [ruby-core:81244] Unsubscribe: