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

Stefano Debenedetti ste at demaledetti.net
Sun Oct 31 13:36:27 EDT 2010


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:

http://twistedmatrix.com/trac/wiki/BasicGuideToContributingCode

$ svn diff -u
Subcommand 'diff' doesn't accept option '-u [--show-updates]'
Type 'svn help diff' for usage.

So the correct command for generating a patch should be documented as:

svn diff > my-twisted-patch.patch

thanks ciao
ste



More information about the Twisted-Python mailing list