From: nobu@... Date: 2015-03-11T06:57:19+00:00 Subject: [ruby-core:68493] [Ruby trunk - Feature #10532] [PATCH] accept_nonblock supports "exception: false" Issue #10532 has been updated by Nobuyoshi Nakada. Sorry, I've read the second link only. Both look fine. ---------------------------------------- Feature #10532: [PATCH] accept_nonblock supports "exception: false" https://bugs.ruby-lang.org/issues/10532#change-51831 * 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/