detect EOF on socket and cleanly shutdown the service process
This commit is contained in:
parent
483dbcdbef
commit
2da338bb8d
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue