Re: [Twisted-Python] Immediate removal of cfreactor

2010-11-01 Thread Glyph Lefkowitz
On Nov 1, 2010, at 9:26 AM, exar...@twistedmatrix.com wrote: > Quite so. It seems like an okay violation to me, since according to the > table above the best possible behavior cfreactor is able to provide is > that sometimes it will build and run for a while before segfaulting. That table is

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

2010-11-01 Thread exarkun
On 04:29 pm, s...@demaledetti.net wrote: >Il 01/11/2010 15:34, Stefano Debenedetti ha scritto: >>I'll try to replicate and to figure out what does >>FileDescriptor.unregisterProducer need to do instead of the probably >>too dumb lines I added there: >> >>if self.disconnecting: >> self.startWrit

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

2010-11-01 Thread Stefano Debenedetti
Il 01/11/2010 15:34, Stefano Debenedetti ha scritto: > I'll try to replicate and to figure out what does > FileDescriptor.unregisterProducer need to do instead of the probably > too dumb lines I added there: > > if self.disconnecting: > self.startWriting() Alright, I added a test case that re

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

2010-11-01 Thread Stefano Debenedetti
Il 31/10/2010 18:36, Stefano Debenedetti ha scritto: > 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. err, it seems to fix that issue but it introduces another issue: File "my/co

Re: [Twisted-Python] Immediate removal of cfreactor

2010-11-01 Thread exarkun
On 12:49 pm, ita...@itamarst.org wrote: >On Sun, 2010-10-31 at 00:51 +, exar...@twistedmatrix.com wrote: >>Hello all, >> >>As reported in , some >>problems have arisen with cfreactor. >> >>First, recent versions of Pyrex reject the Pyrex source for the

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

2010-11-01 Thread Stefano Debenedetti
Glyph wrote: > Stefano, this looks like a great contribution: a serious bug fix in a bit of > core functionality, with a test. Thanks so much! Thank you! It's a pleasure to have one's code be called by code in the Twisted framework and to get stuff done with it! And it's an honor to receive sup

Re: [Twisted-Python] Immediate removal of cfreactor

2010-11-01 Thread Itamar Turner-Trauring
On Sun, 2010-10-31 at 00:51 +, exar...@twistedmatrix.com wrote: > Hello all, > > As reported in , some > problems have arisen with cfreactor. > > First, recent versions of Pyrex reject the Pyrex source for the support > modules. This makes future