lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20506] HTTP server doesn't call tcp_output


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #20506] HTTP server doesn't call tcp_output
Date: Fri, 20 Jul 2007 15:01:55 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5

Follow-up Comment #33, bug #20506 (project lwip):

The point to change it is line 567 for passive open: ACK (probably including
data) received after SYN - SYNACK in state SYN_RCVD.

For active open, this is line 151: SYN ACK received in state SYN_SENT.

I think in both cases, we should check if the previous cwnd is 1 (in case of
state SYN_RCVD: before calling tcp_receive, because that changes the cwnd),
set it to 2 mss if so and set it to 1 mss (like it is now) if it is != 1.

With that solution, we make sure all other cwnd = mss situations (restart...)
are kept like they are, since only the initial window (when a connection is
not in ESTABLISHED) is changed.

Any objections?

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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