Re: [Twisted-Python] how to abort a Protocol connection

2010-09-26 Thread exarkun
On 26 Sep, 06:23 am, xiewei...@gmail.com wrote: >Folks, >I have a usage case where the server need to abort a client TCP >connection (implemented by Protocol) immediately. However, the normal >Protocol.transport.loseConnection() will try to send pending data to >the client first before close th

[Twisted-Python] how to abort a Protocol connection

2010-09-25 Thread Weikai Xie
Folks, I have a usage case where the server need to abort a client TCP connection (implemented by Protocol) immediately. However, the normal Protocol.transport.loseConnection() will try to send pending data to the client first before close the connection. Currently I used an ugly hack to wo