URL:
<
http://savannah.nongnu.org/bugs/?22110>
Summary: Recv() makes receive window update for data, that
was not received by application
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: olegreen
Submitted on: Friday 01/25/2008 at 14:26
Category: TCP
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
One sample
receive mailbox contains 4 packets each 1000 bytes
(all this data already ACKed)
Application makes Recv for 1 byte.
It would be receive window update sent as it was 1000 bytes
received.
The problem is that receive buffer has two parts
receive mailbox and lastdata.
Lwip considers, that all data in lastdata
always processed and immediately after receive data from
receive mailbox sends window update.
But we should do it only for actual processed data.
_______________________________________________________
Reply to this item at:
<
http://savannah.nongnu.org/bugs/?22110>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/_______________________________________________
lwip-devel mailing list
lwip-devel@...
http://lists.nongnu.org/mailman/listinfo/lwip-devel