From: normalperson@... Date: 2014-11-20T20:28:25+00:00 Subject: [ruby-core:66387] [ruby-trunk - Feature #10532] [PATCH] accept_nonblock supports "exception: false" Issue #10532 has been updated by Eric Wong. normalperson@yhbt.net wrote: > I also intend to support this in the "openssl" extension as well as accept_nonblock for openssl: http://80x24.org/spew/m/f453956f3b04d2445e54d3141cc564a2529ce0f7.txt Also pushed to the "more_nonblock" branch on git://80x24.org/ruby ---------------------------------------- Feature #10532: [PATCH] accept_nonblock supports "exception: false" https://bugs.ruby-lang.org/issues/10532#change-50030 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: Yukihiro Matsumoto * Category: ext * Target version: current: 2.2.0 ---------------------------------------- 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/