[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r18537: {torctl} If we don't give a reason on CLOSESTREAM, it ends in SUCCESS (torctl/trunk/python/TorCtl)
Author: mikeperry
Date: 2009-02-13 20:02:45 -0500 (Fri, 13 Feb 2009)
New Revision: 18537
Modified:
torctl/trunk/python/TorCtl/PathSupport.py
Log:
If we don't give a reason on CLOSESTREAM, it ends in SUCCESS, we need a
FAILED. Hopefully this will do it.
Modified: torctl/trunk/python/TorCtl/PathSupport.py
===================================================================
--- torctl/trunk/python/TorCtl/PathSupport.py 2009-02-14 01:00:44 UTC (rev 18536)
+++ torctl/trunk/python/TorCtl/PathSupport.py 2009-02-14 01:02:45 UTC (rev 18537)
@@ -1218,7 +1218,7 @@
self.last_exit = None
# Kill this stream
plog("NOTICE", "Closing stream "+str(stream.strm_id))
- self.c.close_stream(stream.strm_id)
+ self.c.close_stream(stream.strm_id, "4") # END_STREAM_REASON_EXITPOLICY
return
while circ == None:
try: