[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] HTTP Auth, LWIP connection management and FIN packets

From: Gustavo Pinho Oliveira
Subject: Re: [lwip-users] HTTP Auth, LWIP connection management and FIN packets
Date: Thu, 3 Mar 2016 10:16:58 +0000

It works!

If I don't explicitly close my connection the lwip stack does it after the return.

Now my question becomes, what if there's no FIN?
I still want my client to close the connection.

On 3 March 2016 at 04:14, Sergio R. Caprile <address@hidden> wrote:
The piggybacked SYN in frame 4 is considered part of the stream and so
the sequence number in frame 5 is one more than what you would expect.
The RST flag is also a correct response because you close the connection
before the stack can process the FIN (what it would do after you return
ERR_OK, and will call you again to inform you of the closure)

I'm not sure if the FIN can be considered part of the stream, but I've
found references to that, and lwIP seems to be doing so.

If this is true, the test I suggested should end with the expected FIN
ACK on the client side.

lwip-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]