remotedaemon: Fix problem that could prevent ssh connections being made after two LOSTNET messages were received in a row

Perhaps due to two different network interfaces being brought down.

Since there is no reliable way to drain a Chan, I switched to STM TChan.
This commit is contained in:
Joey Hess 2015-01-15 15:37:48 -04:00
parent ec90116851
commit 1ce8367417
6 changed files with 44 additions and 19 deletions

View file

@ -73,3 +73,5 @@ Everything up-to-date
"""]]
[[!tag confirmed]]
> [[fixed|done]] --[[Joey]]

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2015-01-15T19:17:20Z"
content="""
Also, you were spot on about the cause being LOSTNET messages getting
queued up. Clearing that queue when restarting the transport
will fix this problem.
Please bring your non-haskell code analysis skills to bear on git-annex
anytim! :)
"""]]