Project

General

Profile

Actions

Feature #17370

open

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

Added by ioquatix (Samuel Williams) 8 months ago. Updated 23 days 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) 7 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) 6 months ago

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

Updated by ioquatix (Samuel Williams) 23 days ago

This was merged and basic testing seems to work well. More evaluation is required.

Actions

Also available in: Atom PDF