Project

General

Profile

Actions

Feature #14393

open

Support sending file descriptors (on local machine) via DRb UNIX

Added by Anonymous almost 7 years ago. Updated almost 7 years ago.

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

Description

Ruby: 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]

Currently DRb supports UNIX domain sockets, via drbunix://

UNIX sockets can transmit file descriptors via send_io()/recv_io() methods. Unfortunately DRb via drbunix:// doesn't support that yet. For instance when I try to do so on local machine, I get this error:

can't convert DRb::DRbObject to IO (DRb::DRbObject#to_io gives DRb::DRbObject) (TypeError)

Would you please consider adding support for sending file descriptors via DRb (of course on local machine)?

Thank you,

Actions

Also available in: Atom PDF

Like0
Like0