From: matz@... Date: 2015-03-10T11:34:06+00:00 Subject: [ruby-core:68485] [Ruby trunk - Feature #10532] [Feedback] [PATCH] accept_nonblock supports "exception: false" Issue #10532 has been updated by Yukihiro Matsumoto. Status changed from Open to Feedback I like the basic idea. Once someone review the patch (Nobu, are you willing?), it's OK to merge. Matz. ---------------------------------------- Feature #10532: [PATCH] accept_nonblock supports "exception: false" https://bugs.ruby-lang.org/issues/10532#change-51822 * Author: Eric Wong * Status: Feedback * Priority: Normal * Assignee: Yukihiro Matsumoto ---------------------------------------- This is analogous to functionality found in IO#read_nonblock and IO#wait_nonblock. Raising exceptions for common failures on non-blocking servers is expensive and makes $DEBUG too noisy. This also increases performance slightly, see patch for benchmarks. I also intend to support this in the "openssl" extension as well as supporting connect_nonblock if this is accepted. ---Files-------------------------------- 0001-accept_nonblock-supports-exception-false.patch (9.72 KB) -- https://bugs.ruby-lang.org/