diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-11-21 21:45:56 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-11-21 21:45:56 -0400 |
commit | 39b01141b8f24e780ba579c06adc80372a1b82d7 (patch) | |
tree | cd51f4bcac66ee631d9e6f797a8290073b3e5249 /RemoteDaemon | |
parent | 3ea7198d9e0aea3f8764c0b991c18b09f32d2de1 (diff) |
detect EOF on socket and cleanly shutdown the service process
Diffstat (limited to 'RemoteDaemon')
-rw-r--r-- | RemoteDaemon/Transport/Tor.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RemoteDaemon/Transport/Tor.hs b/RemoteDaemon/Transport/Tor.hs index 8e27bc7dd..f28a2c6fd 100644 --- a/RemoteDaemon/Transport/Tor.hs +++ b/RemoteDaemon/Transport/Tor.hs @@ -47,3 +47,4 @@ server th@(TransportHandle (LocalRepo r) _) = do h <- torHandle conn _ <- runNetProtoHandle h h r (serve u) hClose h + debugM "remotedaemon" "done handling a connection" |