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: Sun, 11 Nov 2007 17:47:26 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

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

Just a little status update for anyone who's interested:

Checking for the nagle condition in tcp_output is not enough because if one
of the memory error or memory check conditions prevents tcp from adding more
data to the unsent segment, the nagle condition will prevent sending the
segment.

And because a segment is not sent until it is full, segments are only
acknowledged when the remote side times out (because of delayed ACK) (where
without the new nagle, small packets were sent, which is still inefficient,
but faster than delayed-ACK-timeout).

A solution for this would be to still send if nagle says NO when a memerr has
occurred (e.g. by setting TF_NODELAY to pcb->flags).

    _______________________________________________________

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]