End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Fiber::SchedulerInterface#address_resolve
address_resolve(hostname) → array_of_strings or nil
cont.c
View on GitHub ↗
static VALUE
rb_fiber_scheduler_interface_address_resolve(VALUE self)
{
}
Invoked by any method that performs a non-reverse DNS lookup. The most notable method is Addrinfo.getaddrinfo, but there are many other.
The method is expected to return an array of strings corresponding to ip addresses the hostname is resolved to, or nil if it can not be resolved.
Fairly exhaustive list of all possible call-sites:
-
Addrinfo.marshal_load