diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-19 19:34:47 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-19 19:34:47 +0000 |
commit | a83694c7a1212567ec2f032f84c0d72722bcf5ea (patch) | |
tree | 23f0a4328094778ab8b309508459192f43f0ca5e /src/libstore/ssh-store.cc | |
parent | d5af5763cff2811f6f8c0786c5bf9dd6a61b8669 (diff) |
Use `RemoteStore` to open connection for proxying daemon
Removes duplicate websocket opening code, and also means we should be
able to to ssh-ssh-... daemon relays, not just uds-uds-... ones.
Diffstat (limited to 'src/libstore/ssh-store.cc')
-rw-r--r-- | src/libstore/ssh-store.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/ssh-store.cc b/src/libstore/ssh-store.cc index caae6b596..7e9b44afe 100644 --- a/src/libstore/ssh-store.cc +++ b/src/libstore/ssh-store.cc @@ -89,7 +89,6 @@ ref<RemoteStore::Connection> SSHStore::openConnection() + (remoteStore.get() == "" ? "" : " --store " + shellEscape(remoteStore.get()))); conn->to = FdSink(conn->sshConn->in.get()); conn->from = FdSource(conn->sshConn->out.get()); - initConnection(*conn); return conn; } |