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: Fri, 05 Oct 2007 15:14:38 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7

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

This has taken some time, but finally, I found some free time to work on it
;-)

The main change is checking the nagle conditions in tcp_output in the last
while-loop (effectively calling tcp_output_segment only for 'full' segments or
on idle connections).

tcp_output_nagle remains defined as 'if(nagle_ok(pcb)) { tcp_output(pcb);}',
but can be omitted (at the cost of always calling tcp_output, which checks a
lot and then does nothing).
As a result, in the netconn API, I still use tcp_output_nagle.

As this is an integral part of the stack, I'd like you all to test it,
please, before I check it in!

(file #14094)
    _______________________________________________________

Additional Item Attachment:

File name: tcp_nagle.patch                Size:2 KB


    _______________________________________________________

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]