projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9077d3
)
Add a check for expired connections that are still running
author
Alexander van Gessel
<ai0867@gmail.com>
Tue, 4 Feb 2014 20:59:09 +0000
(21:59 +0100)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 4 Feb 2014 22:53:25 +0000
(17:53 -0500)
irkerd
patch
|
blob
|
history
diff --git
a/irkerd
b/irkerd
index 7f03856ffcd36ad11ad227b00666bf6ba37430df..0d6d6f8515ddf7c76140f6f584ee3f4631d57a3a 100755
(executable)
--- a/
irkerd
+++ b/
irkerd
@@
-551,6
+551,9
@@
class Connection:
self.last_xmit = self.channels_joined[channel] = time.time()
self.irker.irc.debug(1, "XMIT_TTL bump (%s transmission) at %s" % (self.servername, time.asctime()))
self.queue.task_done()
+ elif self.status == "expired":
+ print "We're expired but still running! This is a bug."
+ break
except:
(exc_type, _exc_value, exc_traceback) = sys.exc_info()
self.irker.logerr("exception %s in thread for %s" % \