lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP 2.0.2 pcb->snd_nxt is not updated somewhere?


From: basi
Subject: Re: [lwip-users] TCP 2.0.2 pcb->snd_nxt is not updated somewhere?
Date: Sat, 19 Aug 2017 22:41:35 -0700 (MST)

Hi Simonas,

Did you find the cause of this issue?

I'm also getting the same failure with lwIP 2.0.2 + FreeRTOS + netconn APIs
for implementing a webserver.

The first connection is successful and subsequent connections are failing at
following at check TCP_SEQ_BETWEEN in tcp_process.

case SYN_RCVD:
    if (flags & TCP_ACK) {
      /* expected ACK number? */
      if (TCP_SEQ_BETWEEN(ackno, pcb->lastack+1, pcb->snd_nxt)) {

The wireshark trace shows that, even for the first connection, the ACK for
'GET HTTP/1.1' is coming out of order; i mean after FIN/ACK from client.
Trace file attached..
01_g55.pcapng <http://lwip.100.n7.nabble.com/file/n30514/01_g55.pcapng>  




--
View this message in context: 
http://lwip.100.n7.nabble.com/TCP-2-0-2-pcb-snd-nxt-is-not-updated-somewhere-tp30387p30514.html
Sent from the lwip-users mailing list archive at Nabble.com.



reply via email to

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