Issue #10532 has been reported by Eric Wong.

----------------------------------------
Feature #10532: [PATCH] accept_nonblock supports "exception: false"
https://bugs.ruby-lang.org/issues/10532

* 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/