diff options
author | Bas van Kervel <basvankervel@gmail.com> | 2015-06-25 19:18:10 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@gmail.com> | 2015-06-25 19:18:10 +0800 |
commit | ffbe5656ff2cba43c813f46f743fde4d1ab2dd58 (patch) | |
tree | f6bf37bd5e76287cfc8f8fe3037cb03d9e224a99 /rpc/comms | |
parent | 6d92fdc0df12337c2ffb8e6d19c83653f1a00ff2 (diff) | |
download | go-tangerine-ffbe5656ff2cba43c813f46f743fde4d1ab2dd58.tar.gz go-tangerine-ffbe5656ff2cba43c813f46f743fde4d1ab2dd58.tar.zst go-tangerine-ffbe5656ff2cba43c813f46f743fde4d1ab2dd58.zip |
support for large requests/responses
Diffstat (limited to 'rpc/comms')
-rw-r--r-- | rpc/comms/ipc.go | 1 | ||||
-rw-r--r-- | rpc/comms/ipc_unix.go | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/rpc/comms/ipc.go b/rpc/comms/ipc.go index 068a1288f..3cfcbf3cf 100644 --- a/rpc/comms/ipc.go +++ b/rpc/comms/ipc.go @@ -16,6 +16,7 @@ type IpcConfig struct { type ipcClient struct { endpoint string + c net.Conn codec codec.Codec coder codec.ApiCoder } diff --git a/rpc/comms/ipc_unix.go b/rpc/comms/ipc_unix.go index 295eb916b..5724231f4 100644 --- a/rpc/comms/ipc_unix.go +++ b/rpc/comms/ipc_unix.go @@ -18,7 +18,7 @@ func newIpcClient(cfg IpcConfig, codec codec.Codec) (*ipcClient, error) { return nil, err } - return &ipcClient{cfg.Endpoint, codec, codec.New(c)}, nil + return &ipcClient{cfg.Endpoint, c, codec, codec.New(c)}, nil } func (self *ipcClient) reconnect() error { |