[Twisted-Python] Don't Finalize Connection

Laurens Van Houtven _ at lvh.io
Tue Jul 23 05:24:07 MDT 2013


Hi,

On Tue, Jul 23, 2013 at 1:16 PM, Phil Mayers <p.mayers at imperial.ac.uk>wrote:

> He means "FIN+PSH" in the TCP flags field.
>

Ah! That makes a lot more sense :)


> Without knowing more details, it's impossible to know if the far end or
> his code initiated the close, and if the latter, whether something was
> directly or indirectly calling loseConnection.
>

Right. The only thing we can say for sure is that just calling
self.transport.write a couple of times won't cause that to happen.

Thomas, could you produce a SSCCE (http://sscce.org/) for this behavior?
Does it persist with a Twisted client and server?

cheers
lvh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20130723/46dafd68/attachment-0001.html>


More information about the Twisted-Python mailing list