asio
asio copied to clipboard
support release() on pipes
Pipes on their own are not very useful. You either inherit a pipe (e.g. stdin
, stdout
, stderr
), or create new pipes to be sent over (e.g. fork()
, SCM_RIGHTS
), and then use them as part of some IPC layout.
We have assign()
to create new pipes from received fds (e.g. SCM_RIGHTS
), but there's no corresponding release()
to get a pipe end created from Boost.Asio and sending it over to other processes.
release()
is missing.
Other Boost.Asio IO objects have the release()
method.
Related issue: https://github.com/chriskohlhoff/asio/issues/810
Fixed on Boost 1.80