Re: [Twisted-Python] connectionLost never reached after calling loseConnection: stuck in CLOSE_WAIT forever

2010-10-31 Thread Stefano Debenedetti
Il 30/10/2010 18:48, Stefano Debenedetti ha scritto: > http://twistedmatrix.com/trac/ticket/4719 I have attached a 2 lines patch that seems to fix the issue. The patch also contains a 50 lines unit test ;) I hope this makes it on time for the 10.2.0 release. BTW there's a small error here: htt

Re: [Twisted-Python] connectionLost never reached after calling loseConnection: stuck in CLOSE_WAIT forever

2010-10-31 Thread Glyph Lefkowitz
On Oct 31, 2010, at 1:36 PM, Stefano Debenedetti wrote: > Il 30/10/2010 18:48, Stefano Debenedetti ha scritto: >> http://twistedmatrix.com/trac/ticket/4719 > > I have attached a 2 lines patch that seems to fix the issue. > > The patch also contains a 50 lines unit test ;) Stefano, this looks l

[Twisted-Python] XDCC SEND from IRCClient

2010-10-31 Thread velociraptor Genjix
Hey, Inside an twisted.words.protocol.irc.IRCClient class I want to download via XDCC and then have a callback after that's finished. Sadly the documentation is lacking and I'm not sure what is what. If I override IRCClient.dccDoSend(self, user, address, port, filename, size, data) then it ente