1 Nov
2010
1 Nov
'10
4:29 p.m.
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 replicates the new error introduced by the above change and included it in a new proposed fix: http://twistedmatrix.com/trac/attachment/ticket/4719/avoid_hang_in_CLOSE_WAI... if self.connected and self.disconnecting: self.startWriting() This new patch now passes both new unit tests. Sorry about the noise, if I find any more issues about this I'll post them to the ticket page instead of polluting the mailing list with replies to myself. ciao ste