From: Eric S. Raymond Date: Sat, 6 Oct 2012 05:27:16 +0000 (-0400) Subject: Add a needed thread termination. X-Git-Tag: 1.8~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4db9a98d7eb15fe2e6bcfba49c34c8a93effd373;p=irker.git Add a needed thread termination. --- diff --git a/irkerd b/irkerd index fe68100..417331e 100755 --- 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