[Twisted-Python] reject all open connections

Irae Hueck Costa iraehc at hotmail.com
Sat Jun 21 16:26:37 EDT 2008

hi all!

i just want to clean my reactor - all readers and writer should looseConnection()

but how can i do this? reactor.removeAll() dont do it.
the best solutions i found was a horrible workaround:
a thread is tarted, which constantly calls ``[conn.loseConnection() for conn in reactor.removeAll()]``

is there a better solution?

thank you

Conheça o Windows Live Spaces, a rede de relacionamentos do Messenger!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20080621/5811aea7/attachment.htm 

More information about the Twisted-Python mailing list