[Twisted-Python] Don't Finalize Connection
Phil Mayers
p.mayers at imperial.ac.uk
Tue Jul 23 05:16:08 MDT 2013
On 23/07/13 10:42, Laurens Van Houtven wrote:
> Hi Thomas,
>
> On Tue, Jul 23, 2013 at 4:15 AM, Thomas Hommers
> <thomas.hommers at ebalu.com <mailto:thomas.hommers at ebalu.com>> wrote:
>
> It seems that after i send data with self.transport.write(data) the
> last packet will be send with the "FP." flag, what seems to
> "Finalize" the connection from this end.
>
>
> I can't find any information on the "FP" flag in either IP or TCP.
He means "FIN+PSH" in the TCP flags field.
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.
More information about the Twisted-Python
mailing list