[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #22112] Recv() makes receive window update for data, t
From: |
Oleg Tyshev |
Subject: |
[lwip-devel] [bug #22112] Recv() makes receive window update for data, that was not received by application |
Date: |
Fri, 25 Jan 2008 14:40:32 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 |
URL:
<http://savannah.nongnu.org/bugs/?22112>
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:40
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:
Sample:
Receive mailbox contains 4 packets each 1000 bytes.
Application makes recv() for 1 byte.
It will be receive window update sent, as if
application 1000 received.
The problem is, that receive buffer is separated to two parts:
receive mailbox and sock->lastdata.
Lwip considers that data in sock->lastdata processed immediately.
But application can take only part of the data from sock->lastdata.
And windows update should be sent only to the part that application realy
received.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?22112>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #22112] Recv() makes receive window update for data, that was not received by application,
Oleg Tyshev <=