lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #22110] Recv() makes receive window update for data, t


From: Oleg Tyshev
Subject: [lwip-devel] [bug #22110] Recv() makes receive window update for data, that was not received by application
Date: Fri, 25 Jan 2008 14:26:49 +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/?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/





reply via email to

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