[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18561: {torctl} Woops, we missed one of these annoying timeout warns. (torctl/trunk/python/TorCtl)



Author: mikeperry
Date: 2009-02-16 05:12:01 -0500 (Mon, 16 Feb 2009)
New Revision: 18561

Modified:
   torctl/trunk/python/TorCtl/PathSupport.py
Log:

Woops, we missed one of these annoying timeout warns.



Modified: torctl/trunk/python/TorCtl/PathSupport.py
===================================================================
--- torctl/trunk/python/TorCtl/PathSupport.py	2009-02-16 09:29:22 UTC (rev 18560)
+++ torctl/trunk/python/TorCtl/PathSupport.py	2009-02-16 10:12:01 UTC (rev 18561)
@@ -1366,6 +1366,8 @@
         # traffic. 
         self.streams[s.strm_id].failed = True
         if s.circ_id in self.circuits: self.circuits[s.circ_id].dirty = True
+        if s.circ_id == 0 and s.reason == "TIMEOUT":
+          plog("NOTICE", "Timeout for "+str(s.strm_id)) 
         else: plog("WARN","Failed stream on unknown circ "+str(s.circ_id))
         return