[tor-commits] [sbws/master] Catch a case where we might leak circuits
pastly at torproject.org
pastly at torproject.org
Thu Jun 14 13:29:50 UTC 2018
commit a9b3967d7557424b871b709acaa681e6427a650c
Author: Matt Traudt <sirmatt at ksu.edu>
Date: Thu Jun 7 19:29:24 2018 -0400
Catch a case where we might leak circuits
---
sbws/lib/destination.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/sbws/lib/destination.py b/sbws/lib/destination.py
index e87f71c..4d0c1f3 100644
--- a/sbws/lib/destination.py
+++ b/sbws/lib/destination.py
@@ -203,6 +203,7 @@ class DestinationList:
is_usable, data = dest.is_usable(circ_id, session, cont)
if not is_usable:
log.warning(data)
+ self._cb.close_circuit(circ_id)
continue
assert is_usable
log.debug('%s seems usable so we will keep it', dest.url)
More information about the tor-commits
mailing list