Issue #17370 has been updated by ioquatix (Samuel Williams).


In order to implement this hook, we need to expose the C interface to extensions:

https://github.com/ruby/ruby/pull/3945

----------------------------------------
Bug #17370: Introduce non-blocking `Addrinfo.getaddrinfo` and related methods.
https://bugs.ruby-lang.org/issues/17370#change-89544

* Author: ioquatix (Samuel Williams)
* Status: Assigned
* Priority: Normal
* Assignee: ioquatix (Samuel Williams)
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
We would like to introduce a new scheduler hook for non-blocking `getaddrinfo`.

```
class Scheduler
  def address_resolve(...)
    [array of addrinfo objects]
  end
```

https://github.com/bruno-/ruby/pull/1

This is a work in progress.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>