Project

General

Profile

Feature #14393

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

Added by hkcorac (Hk Corac) 12 months ago. Updated 12 months 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

Updated by shevegen (Robert A. Heiler) 12 months 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