Project

General

Profile

Actions

Feature #17370

open

Introduce non-blocking `Addrinfo.getaddrinfo` and related methods.

Added by ioquatix (Samuel Williams) 5 months ago. Updated 3 months ago.

Status:
Assigned
Priority:
Normal
Target version:
-
[ruby-core:101251]

Description

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.

Updated by ioquatix (Samuel Williams) 4 months ago

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

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

Actions #2

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

  • Backport deleted (2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN)
  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF