Issue #14393 has been reported by hkcorac (Hk Corac).

----------------------------------------
Feature #14393: Support sending file descriptors (on local machine) via DRb UNIX
https://bugs.ruby-lang.org/issues/14393

* Author: hkcorac (Hk Corac)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
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,



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>