diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-02-03 11:54:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 11:54:05 +0100 |
commit | 1647354d6b640b7341fba0c94d3dfb6b06355b2d (patch) | |
tree | be55498fb351afe8e045fcdd002380312cd4c1b5 /src/libstore/daemon.cc | |
parent | 5cbeff64f22c854ebeebeb81d6ac247f1ee6aa2a (diff) | |
parent | 479c0117840a5dc710019db006c5940b29d98dcc (diff) |
Merge pull request #7738 from obsidiansystems/delete-authHook
Get rid of the `authHook` parameter on `processConnection`
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r-- | src/libstore/daemon.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc index d6621ec0b..d1f69fe2d 100644 --- a/src/libstore/daemon.cc +++ b/src/libstore/daemon.cc @@ -985,8 +985,7 @@ void processConnection( FdSource & from, FdSink & to, TrustedFlag trusted, - RecursiveFlag recursive, - std::function<void(Store &)> authHook) + RecursiveFlag recursive) { auto monitor = !recursive ? std::make_unique<MonitorFdHup>(from.fd) : nullptr; @@ -1029,10 +1028,6 @@ void processConnection( try { - /* If we can't accept clientVersion, then throw an error - *here* (not above). */ - authHook(*store); - tunnelLogger->stopWork(); to.flush(); |