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