remotedaemon: When network connection is lost, close all cached ssh connections.

This commit was sponsored by Cedric Staub.
This commit is contained in:
Joey Hess 2014-04-12 16:32:59 -04:00
parent 15917ec1a8
commit a33b30d0c4
7 changed files with 76 additions and 36 deletions

View file

@ -71,7 +71,7 @@ dbusThread = do
)
handleconn = do
debug ["detected network connection"]
sendRemoteControl PAUSE
sendRemoteControl LOSTNET
notifyNetMessagerRestart
handleConnection
sendRemoteControl RESUME