Project

General

Profile

Feature #14393

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

Added by hkcorac (Hk Corac) 28 days ago. Updated 28 days ago.

Status:
Open
Priority:
Normal
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,

History

#1 [ruby-core:85076] Updated by shevegen (Robert A. Heiler) 28 days ago

Would be nice.

I must admit that I have not used drb in a really long time - but I
am a firm believer in ruby objects dwelling everywhere, and communicating
with them. :)

Also available in: Atom PDF