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

[tor-commits] [sbws/master] Catch a case where we might leak circuits



commit a9b3967d7557424b871b709acaa681e6427a650c
Author: Matt Traudt <sirmatt@xxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits