[tor-bugs] #7328 [Stem]: Event Handling

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 2 19:44:36 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 atagar):

 > 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-)

 Actually, after thinking about it maybe we could. StreamClosureReason is a
 superset of RELAY_END so maybe add a stem.RelayEnd enum and use it in the
 StreamClosureReason constructor? The close_stream() method could pretty
 easily account for the index offset.

 > Please push the current event handling framework to the main Stem
 repository.

 Ok, will do later today. I was gonna wait until the feature branch was
 complete but if folks want to develop against it then I agree that it
 should be merged early.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7328#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list