lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Snd_buf not updated when receiving SYN in state SYN_SEN


From: K.J. Mansley
Subject: Re: [lwip-users] Snd_buf not updated when receiving SYN in state SYN_SENT
Date: 24 Nov 2004 12:49:11 +0000

On Wed, 2004-11-24 at 12:29, Magnus Christensson wrote:

> 
> Am I missing something, or shouldn't there be a 'pcb->snd_buf++' to update 
> the 
> send buffer size from the incoming ACK?

Hmmm, yes, I suppose as the SYN consumes 1 sequence number, we should be
doing that there.  Will add it to the list of little things to fix!  All
other states call tcp_receive() which adjusts snd_buf appropriately, but
in SYN_SENT you're not going to get any data, so this was obviously
deemed unnecessary.

Out of interest, did you spot this because of a problem, or just notice
it when reading through the code?

Thanks

Kieran





reply via email to

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