[chutney/master] Don't check whether we can write on a listener

20 Jun
2019
20 Jun
'19
7:45 a.m.
commit 0687600c104d69890e4b67cffb73c8ede83ec91e Author: Nick Mathewson <nickm@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()
2178
Age (days ago)
2178
Last active (days ago)
0 comments
1 participants
participants (1)
-
teor@torproject.org