lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #25629] keep-alive not working.


From: Oleg Tyshev
Subject: [lwip-devel] [bug #25629] keep-alive not working.
Date: Fri, 27 Mar 2009 10:44:36 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 GTB5

Follow-up Comment #3, bug #25629 (project lwip):

Sorry, Kieran

can you explain why in this code fragment
we increase announced receive window?

tcphdr->ackno = htonl(pcb->rcv_nxt);
TCPH_FLAGS_SET(tcphdr, TCP_ACK);
tcphdr->wnd = htons(pcb->rcv_ann_wnd + 1);
tcphdr->urgp = 0;

You write:
"I've also fixed the window in the packet with that change to not shrink what
we advertise by one octet. "

We send one byte in case zero window probe or keep alive probe.
Why receive window would be shrink without this "+1"?

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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