From: janko.marohnic@... Date: 2018-01-26T11:12:01+00:00 Subject: [ruby-core:85129] [Ruby trunk Feature#14404] Adding writev support to IO#write_nonblock Issue #14404 has been reported by janko (Janko Marohni��). ---------------------------------------- Feature #14404: Adding writev support to IO#write_nonblock https://bugs.ruby-lang.org/issues/14404 * Author: janko (Janko Marohni��) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- In Ruby 2.5 IO#write received writev support (https://github.com/ruby/ruby/commit/3efa7126e5e853f06cdd78d4d88837aeb72a9a3e), allowing it to accept multiple arguments and utilize writev when available. Would it be possible to add this feature to IO#write_nonblock as well? IO#write_nonblock is used by the HTTP.rb and Socketry gems to implement their "write timeout" feature (the same way that IO#read_nonblock is used in Net::HTTP to implement "read timeout"). Since IO#write_nonblock doesn't yet support writev, at the moment it's not possible for HTTP.rb and Socketry to utilize writev when the "write timeout" is specified. -- https://bugs.ruby-lang.org/ Unsubscribe: