]> git.meshlink.io Git - meshlink/commit
Fix spurious channel closures after meshlink_stop()+meshlink_start().
authorGuus Sliepen <guus@meshlink.io>
Thu, 10 Oct 2019 18:50:43 +0000 (20:50 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 10 Oct 2019 18:50:43 +0000 (20:50 +0200)
commitf325bd9bf8c3276c7ece274389d6edb0c4ebd911
tree2b9f232b8a3e7f0d41002cbb4d07b372f14af093
parent477973fd217114dec8218cb7f8d99655272a3669
Fix spurious channel closures after meshlink_stop()+meshlink_start().

When restarting the mesh without fully closing the handle, channels should
continue to work MeshLink was only stopped briefly. However, we were
accidentily always setting the connection timeout when a node's UDP status
changed, which would cause channels that didn't have any unsent data to
time out.
src/utcp