[Top][All Lists]

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

RE: SV: [lwip-users] TCP payload is doubled

From: David Shmelzer
Subject: RE: SV: [lwip-users] TCP payload is doubled
Date: Wed, 21 Oct 2009 14:26:11 -0400

Yes, I call tcp_recved() inside my tcp-rcv-callback().

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Sent: Wednesday, October 21, 2009 1:23 PM
To: Mailing list for lwIP users
Subject: Re: SV: [lwip-users] TCP payload is doubled

David Shmelzer wrote:
> I'm still confused as to why the the window size is decreasing in the 
> first place in 1.3.1 and not in 1.3.0. Isn't that causing the silly 
> window syndrome? The lwIP server is processing the packets immediately

> via the callback API so the window should not be decreasing.
That seems like a bug in the silly window avoidance mechanism: at the
time your application calls tcp_recved() to release the windows space of
the newly received data, the stack doesn't know it hasn't sent out the
decreased window yet. You're right that it shouldn't shrink the window
in this case.

I assume you did call tcp_recved() inside your tcp-rcv-callback() and
not after that callback has returned, of course.

I filed a bug on savannah, please feel free to add further information


lwip-users mailing list

reply via email to

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