lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] web server stack optimization


From: Seth King
Subject: [lwip-users] web server stack optimization
Date: Thu, 3 Jan 2013 18:35:03 -0500


I have created a basic web server on a SAM3X-EK(with FreeRTOS/LWIP).  The files are read from a sd card then transmitted back to the browser.  It works but will hang randomly.  I am unsure exactly how to calculate how big the stack should be for the webserver thread.  There is another issue with the transmit buffer, it seems that if it is too large(> 1k) it will hang.  If it is around 1k then I can loop through the file and transmit it in blocks.  How can I optimize the stack better?  Has anyone implemented a webserver? what issues have you run seen?

Regards,
Seth

reply via email to

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