[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [chutney/master] Don't check whether we can write on a listener
commit 0687600c104d69890e4b67cffb73c8ede83ec91e
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri May 10 15:22:00 2019 -0400
Don't check whether we can write on a listener
---
lib/chutney/Traffic.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/chutney/Traffic.py b/lib/chutney/Traffic.py
index 2f4cc94..7199f87 100755
--- a/lib/chutney/Traffic.py
+++ b/lib/chutney/Traffic.py
@@ -125,6 +125,9 @@ class Listener(asyncore.dispatcher):
self.listen(0)
self.tt = tt
+ def writable(self):
+ return False
+
def handle_accept(self):
# deprecated in python 3.2
pair = self.accept()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits