Add a needed thread termination.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 6 Oct 2012 05:27:16 +0000 (01:27 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 6 Oct 2012 05:27:16 +0000 (01:27 -0400)
irkerd

diff --git a/irkerd b/irkerd
index fe68100e6d78cbea349333d0c9733fdfa897ce01..417331ebd49953e7b680b503922e25bac6a8dc2f 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -221,6 +221,7 @@ class Connection:
                 elif self.status == "handshaking":
                     if time.time() > self.last_xmit + HANDSHAKE_TTL:
                         self.status = "expired"
+                        break
                     else:
                         # Don't buzz on the empty-queue test while we're
                         # handshaking