Project

General

Profile

Actions

Bug #20897

closed

resolv: not usable across ractors

Bug #20897: resolv: not usable across ractors

Added by chucke (Tiago Cardoso) 12 months ago. Updated 6 months 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) 7 months ago Actions #1 [ruby-core:121610]

  • Assignee set to tenderlovemaking (Aaron Patterson)

Updated by jhawthorn (John Hawthorn) 6 months ago Actions #2

  • Assignee changed from tenderlovemaking (Aaron Patterson) to ractor

Updated by byroot (Jean Boussier) 6 months ago Actions #3 [ruby-core:121934]

  • Status changed from Open to Closed

The linked PR was merged.

Actions

Also available in: PDF Atom