[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #27053 [Core Tor/Stem]: Check controller's event error handling
#27053: Check controller's event error handling
-------------------------------+--------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: new
Priority: Very High | Milestone:
Component: Core Tor/Stem | Version:
Severity: Major | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
Mike had a great question: 'what happens to events if there's an error?'.
On reflection the answer is: nothing good.
Our handle_event method parses events without any kind of error
handling...
https://gitweb.torproject.org/stem.git/tree/stem/control.py#n3876
This would in turn break our event handling thread. Instead we should
direct malformed events into a 'broken event' queue.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27053>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs