lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip 1.4 - no FIN sent!


From: Stephane Lesage
Subject: Re: [lwip-users] lwip 1.4 - no FIN sent!
Date: Fri, 19 Aug 2011 12:18:47 +0200

> > False alert for the FIN ! The flag is set but it's not displayed in
> > wireshark single line because it's interpreted as an HTTP response.
> > m8847 you should check in the packet details.
> 
> Well, I have! It is not set for me. I'm home right now, eating pizza,
> :-) but I am certain that I don't get the FIN. I'll try more tomorrow.

If LwIP sends a RST packet to close the connection, then it's because
you didn't read all the data from the browser.
(you must read all headers until the double CRLF, and not just the first
line)

This is a common behavior of TCP/IP stacks.
Look in the documentation of the function tcp_close_shutdown() in tcp.c

> Are you using the socket interface?

Yes.




reply via email to

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