From: Forrest Voight Date: Thu, 15 Dec 2011 21:35:39 +0000 (-0500) Subject: fixed peer ping and addr threadlets not exiting when connection lost X-Git-Tag: 0.8.2~99 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=58a3c2a13e8237325721642c845ff46bcd6b52ab;p=p2pool.git fixed peer ping and addr threadlets not exiting when connection lost --- 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):