From 58a3c2a13e8237325721642c845ff46bcd6b52ab Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Thu, 15 Dec 2011 16:35:39 -0500 Subject: [PATCH] fixed peer ping and addr threadlets not exiting when connection lost --- p2pool/p2p.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/p2pool/p2p.py b/p2pool/p2p.py index e642538..0d73447 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -205,6 +205,7 @@ class Protocol(bitcoin_p2p.BaseProtocol): def connectionLost(self, reason): if self.connected2: self.node.lost_conn(self) + self.connected2 = False class ServerFactory(protocol.ServerFactory): def __init__(self, node): -- 1.7.1