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: Simon Goldschmidt
Subject: [lwip-devel] [bug #22110] Recv() makes receive window update for data, that was not received by application
Date: Sun, 26 Apr 2009 17:50:09 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.0.9) Gecko/2009040820 Firefox/3.0.9

Follow-up Comment #6, bug #22110 (project lwip):

> The change needed here - being able to find out if the layer
> above is buffering data - is similar to the one needed to
> support shutdown and close properly.

You could implement it that way, but I'd rather think of it as a limitation
of the sockets API being built upon the netconn API: the netconn API simply
does not provide the functionality that we need here: we would need a
netconn_recved callback that effectively does the window update.


A little off topic: I think this is a major performance whole in TCP RX: we
should try to prevent calling back into the stack (do_recv) every time a
packet is received. Most of the time, tcp_recved does nothing and the places
where tcp_ack_now is called that could maybe also be solved differently (e.g.
on next input packet)?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?22110>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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