<div dir="ltr">Hi,<br><br><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 23, 2013 at 1:16 PM, Phil Mayers <span dir="ltr"><<a href="mailto:p.mayers@imperial.ac.uk" target="_blank">p.mayers@imperial.ac.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
He means "FIN+PSH" in the TCP flags field.<br></blockquote><div><br></div><div>Ah! That makes a lot more sense :)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


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.<br></blockquote><div><br></div>

<div>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.<br><br></div><div>Thomas, could you produce a SSCCE (<a href="http://sscce.org/">http://sscce.org/</a>) for this behavior? Does it persist with a Twisted client and server?<br>

<br></div><div>cheers<br>lvh<br></div></div></div></div>