Project

General

Profile

Actions

Bug #20897

open

resolv: not usable across ractors

Added by chucke (Tiago Cardoso) 6 days ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:119941]

Description

Using the resolv library in a non-main ractor is impossible, due to DNS resources being memoized in a mutable class variable.

This patch fixes it by storing resource information in static variables.

No data to display

Actions

Also available in: Atom PDF

Like0