lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] httpd slow response


From: Bill Auerbach
Subject: RE: [lwip-users] httpd slow response
Date: Fri, 24 Apr 2009 12:14:07 -0400

>> Ok. Than as Simon pointed out - the tcp_output avoids Nagle. I
>> followed the contrib/apps httpd example and without tcp_output calls I
>> needed TF_NODELAY.
>>
>> Which is right? I would hope that an lwIP contrib example would show
>> the* correct* way to implement something.
>>
>tcp_output avoids Nagle?
>
>Simon Goldschmidt wrote:
>
> > tcp_output() actually is the place where the nagle algorithm is
>implemented!
>
>It only avoids nagel if it is told so by the TF_NODELAY flag. And
>tcp_output is always needed! I'm confused.

I see - tcp_output isn't a "send now" - I thought it meant that (if not, why
do a tcp_write *and* a tcp_output?).  So with tcp_output, Nagle delays are
not circumvented.  The contrib example doesn't do tcp_output - so is it
optional?  Why?

Bill





reply via email to

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