[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [chutney/master] re-add not-connected to handle some failure cases
commit 4c0e3f31df3167eea236e0f6c19fc80e757a906d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri May 10 13:56:39 2019 -0400
re-add not-connected to handle some failure cases
---
lib/chutney/Traffic.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/chutney/Traffic.py b/lib/chutney/Traffic.py
index 167647b..425d08d 100755
--- a/lib/chutney/Traffic.py
+++ b/lib/chutney/Traffic.py
@@ -227,6 +227,7 @@ class CloseSourceProducer:
class Source(asynchat.async_chat):
"""A data source, connecting to a TCP server, optionally over a
SOCKS proxy, sending data."""
+ NOT_CONNECTED = 0
CONNECTING = 1
CONNECTING_THROUGH_PROXY = 2
CONNECTED = 5
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits