Raw API doesn't disable Nagle.  I found things to be faster if I do so:

 

pcb->flags |= TF_NODELAY;                                        //
Disable Nagle

 

Bill

 

From: [email protected]
[mailto:[email protected]] On Behalf
Of Rick Culver
Sent: Thursday, April 23, 2009 4:05 PM
To: [email protected]
Subject: [lwip-users] httpd slow response

 

I am using lwip with raw API and the httpd web server.  I noticed that when
serving up larger files that the response seemed extremely slow.  The
http_sent() callback is used to send each new chunk of the file being served
and I discovered that it is taking about 175msec between the http_sent()
callbacks.  What could be causing this huge delay in response?  Any ideas
would could be wrong and/or how we can speed up this otherwise slow server?

 

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to