lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20287] tcp_output_nagle sends too early


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #20287] tcp_output_nagle sends too early
Date: Mon, 09 Jul 2007 12:50:27 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #10, bug #20287 (project lwip):

Imagine you are sending 500 byte chunks, have no unsent queue and some
segments in unacked (with TCP_MSS of 1460):

tcp_output_nagle wouldn't send until the first segment is filled (in this
example, 1000 bytes in a segment, then a next segment would be created).

At this point, after having enqueued the 3rd segment, tcp_output_nagle would
really call tcp_output, which would then send as much as it can, resulting in
sending 2 segments: the first with 1000 bytes and the second with 500 bytes. A
proper implementation would hold back the second segment until it is filled.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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