diff --git a/lix/libstore/remote-store-connection.hh b/lix/libstore/remote-store-connection.hh index e26f562b3..8083bb048 100644 --- a/lix/libstore/remote-store-connection.hh +++ b/lix/libstore/remote-store-connection.hh @@ -91,8 +91,6 @@ struct RemoteStore::Connection virtual ~Connection(); - virtual void closeWrite() = 0; - std::exception_ptr processStderr(bool flush = true); }; diff --git a/lix/libstore/ssh-store.cc b/lix/libstore/ssh-store.cc index 208084473..a8a09ef46 100644 --- a/lix/libstore/ssh-store.cc +++ b/lix/libstore/ssh-store.cc @@ -69,11 +69,6 @@ protected: struct Connection : RemoteStore::Connection { std::unique_ptr sshConn; - - void closeWrite() override - { - sshConn->in.close(); - } }; ref openConnection() override; diff --git a/lix/libstore/uds-remote-store.cc b/lix/libstore/uds-remote-store.cc index ca837f524..04d9dbb37 100644 --- a/lix/libstore/uds-remote-store.cc +++ b/lix/libstore/uds-remote-store.cc @@ -50,13 +50,6 @@ std::string UDSRemoteStore::getUri() } } - -void UDSRemoteStore::Connection::closeWrite() -{ - shutdown(fd.get(), SHUT_WR); -} - - ref UDSRemoteStore::openConnection() { auto conn = make_ref(); diff --git a/lix/libstore/uds-remote-store.hh b/lix/libstore/uds-remote-store.hh index a28e6b2b3..1ae3d3e72 100644 --- a/lix/libstore/uds-remote-store.hh +++ b/lix/libstore/uds-remote-store.hh @@ -60,7 +60,6 @@ private: struct Connection : RemoteStore::Connection { AutoCloseFD fd; - void closeWrite() override; }; ref openConnection() override;