Project

General

Profile

Actions

Bug #20897

closed

resolv: not usable across ractors

Added by chucke (Tiago Cardoso) 7 months ago. Updated 23 days ago.

Status:
Closed
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.

Updated by tenderlovemaking (Aaron Patterson) about 2 months ago

  • Assignee set to tenderlovemaking (Aaron Patterson)
Actions #2

Updated by jhawthorn (John Hawthorn) 23 days ago

  • Assignee changed from tenderlovemaking (Aaron Patterson) to ractor

Updated by byroot (Jean Boussier) 23 days ago

  • Status changed from Open to Closed

The linked PR was merged.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0