HTTPd webserver keep alive
- Post By Henry Okoro
- 1 year ago
I am using the STM32F767ZI microcontroller and was able to implement a webserver with an HTML/CSS/Javascript formatted webpage that can perform GCI commands and use SSI as well. The issue is that the webpage doesn't stay alive after roughly 30 seconds and after issuing a few CGI commands, the webpage fails to load and the server ultimately stops responding. I tried enabling the LWIP_HTTPD_SUPPORT_11_KEEPALIVE macro in my lwipopts.h file, but no behavioral change. I also tried to up the MEM_ALIGNMENT, MEM_SIZE and PBUF_POOL_SIZE, but still seeing the webpage lose connection over wireshark (see attached). What options do I have and what can l look into to solve the issue? Thanks!