HTTP Server, WebSocket support

Dependents:   HTTPD_sample ch5_mbed_lightweight_Web_server_dust_sensor ch8_mbed_websocket_client Renesas_GR-Peach_LCD

Bug fix: HardFault error in the HTTPD

HTTPD is very good but there is problem when I use it. The stack size of HTTPD::daemon() thread function is too small with the recent LwIP library. There was Hard Fault error in HTTPD with Seeed Arch Max platform because of stack overflow. According to the Callgraph report generated by Keil MDK 4.1, the Max Depth of HTTPD::daemon() is 424 bytes.

HTTPD bug fix which is caused by stack overflow.

1 comment:

10 Apr 2015

I am afraid to tell you HTTPD library has another serious bug. I fixed it with my forked version of HTTPD while I was testing the web socket. I hope you merge my fix to your library for other mbed users.