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: Rick Culver
Subject: Re: [lwip-users] httpd slow response
Date: Fri, 24 Apr 2009 11:11:11 -0500

Kieran,
Thanks for the suggestion. Attached is a copy of the lwipopt.h file and also an Ethereal capture of a simple webpage refresh. Notice the delays in the sequence during the file transfer(s). Any ideas?
Rick

----- Original Message ----- From: "Kieran Mansley" <address@hidden> To: "Rick Culver" <address@hidden>; "Mailing list for lwIP users" <address@hidden>
Sent: Friday, April 24, 2009 10:12 AM
Subject: Re: [lwip-users] httpd slow response


On Fri, 2009-04-24 at 10:06 -0500, Rick Culver wrote:
Bill,
As we suspected based on this information, setting the TF_NODELAY flag
in the accept callback did not make a difference.  Apparently the
problem is somewhere else in the stack but not sure where.  I tried
both MSIE and FoxFire browsers, same results.  I just can't figure out
why there is so much delay between the http_sent() functions.  It
appears that this is somehow related to the lwip either not sending
the tcp_write()/tcp_output() immediately or not processing the
response packets quickly (or maybe a combination of both).  At any
rate it appears that httpd module can only serve up one chunk of the
file about every 200msec.  If you think of anything else please let me
know.

A copy of your lwipopts.h and a packet capture of the slow transfer can
often be illuminating in cases like this.

Kieran


Attachment: httpd-ethereal.cap
Description: Binary data

Attachment: lwipopts.h
Description: Text document


reply via email to

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