tve wrote:Yes, something was missing in the function! I could fix the memory leak by using httpdDisconCb from the current esp-httpd.
https://github.com/Spritetm/libesphttpd ... re/httpd.c
Thanks, Sprite_tm!!
Bad news is that I had exactly that unmodified code until last week. I had to change it completely because it was causing crashes when hitting F5 rapidly. The crashes were due to the way the esphttpd code deallocates stuff...
So, that bug still is in the official esphttpd code? If so, I may need to dive into your git commit log and port it to esphttpd