[tor-commits] [chutney/master] Don't check whether we can write on a listener
teor at torproject.org
teor at torproject.org
Thu Jun 20 07:45:41 UTC 2019
commit 0687600c104d69890e4b67cffb73c8ede83ec91e
Author: Nick Mathewson <nickm at torproject.org>
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()
More information about the tor-commits
mailing list