From 402491b7e52c4d836c1274976cdb387852cfd17b Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 11 Sep 2017 10:02:02 -0500 Subject: PLT-7407: Back-end plugins (#7409) * tie back-end plugins together * fix comment typo * add tests and a bit of polish * tests and polish * add test, don't let backend executable paths escape the plugin directory --- plugin/rpcplugin/ipc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/rpcplugin/ipc.go') diff --git a/plugin/rpcplugin/ipc.go b/plugin/rpcplugin/ipc.go index 3e6c89c4f..bbb3db06e 100644 --- a/plugin/rpcplugin/ipc.go +++ b/plugin/rpcplugin/ipc.go @@ -19,7 +19,7 @@ func NewIPC() (io.ReadWriteCloser, []*os.File, error) { childWriter.Close() return nil, nil, err } - return NewReadWriteCloser(parentReader, parentWriter), []*os.File{childReader, childWriter}, nil + return NewReadWriteCloser(NewAsyncReadCloser(parentReader), NewAsyncWriteCloser(parentWriter)), []*os.File{childReader, childWriter}, nil } // Returns the IPC instance inherited by the process from its parent. -- cgit v1.2.3-1-g7c22