[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #2812 [Torctl]: TorCtl Zombie Connections



#2812: TorCtl Zombie Connections
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:              
     Type:  defect  |         Status:  needs_review
 Priority:  normal  |      Milestone:              
Component:  Torctl  |        Version:              
 Keywords:          |         Parent:              
   Points:          |   Actualpoints:              
--------------------+-------------------------------------------------------

Comment(by atagar):

 Ack, this is worse than I thought. There's a general failure with the
 mechanism by which TorCtl connections are released. Even when successfully
 connected the close() method does not cause it to release from the control
 port so the following:

 >>> from TorCtl import TorCtl
 >>> conn = TorCtl.connect()
 >>> conn.close()
 INFO[Tue Mar 29 08:43:32 2011]:Event loop received close message.
 >>> conn = TorCtl.connect()
 >>> conn.close()
 INFO[Tue Mar 29 08:43:35 2011]:Event loop received close message.

 Results in two connections remaining to the control port for the life of
 the python process. I'll attach an updated patch to address this.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2812#comment:3>
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