[tor-bugs] #7328 [Stem]: Event Handling
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Dec 2 16:08:26 UTC 2012
#7328: Event Handling
-------------------------+--------------------------------------------------
Reporter: atagar | Owner: atagar
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: controller | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by robinson):
Replying to [comment:5 atagar]:
> > Is it possible that stem.StreamClosureReason values map to an interger
starting with 1...
>
> [No]...because StreamClosureReason includes 'END' and 'PRIVATE_ADDR'.
Those are values allowed for in STREAM events, but not part of RELAY_END.
On further reflection, I agree that StreamClosureReason should not be re-
used for RELAY_END. I guess I'll rework my close_stream patch before
submitting it. 8-)
> I'm swapping this back to the assigned status since I'm less than half
way through the event types. I'll swap this back to 'needs review' when
I'm done, though more code reviews as I go along would be very welcome.
Please push the current event handling framework to the main Stem
repository. Anyone else (read: me) wanting to develop event handler
classes may find it easier to work against that repo. Any event handler
classes you add will just be enhancements to the base event code.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7328#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list