From 088ef81759f22bf0115a52f183ba66b0be3b9ef2 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 5 Mar 2018 07:42:15 -0500 Subject: ssh-ng: Don't forward options to the daemon. This can be iterated on and currently leaves out settings we know we want to forward, but it fixes #1713 and fixes #1935 and isn't fundamentally broken like the status quo. Future changes are suggested in a comment. --- src/libstore/ssh-store.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/libstore/ssh-store.cc') diff --git a/src/libstore/ssh-store.cc b/src/libstore/ssh-store.cc index 107c6e1ecb4d..398408ea8d78 100644 --- a/src/libstore/ssh-store.cc +++ b/src/libstore/ssh-store.cc @@ -51,6 +51,16 @@ private: std::string host; SSHMaster master; + + void setOptions(RemoteStore::Connection & conn) override + { + /* TODO Add a way to explicitly ask for some options to be + forwarded. One option: A way to query the daemon for its + settings, and then a series of params to SSHStore like + forward-cores or forward-overridden-cores that only + override the requested settings. + */ + }; }; -- cgit 1.4.1