Hello
in my code I use a Web Socket registered as httpd_uri with data structure indicates this is for websocket server. The problem is that it the memory doesn't get free after clsong the websocket. It seems there is a memoery leak problem somewhere in the code?
I initialize the http server with this configuations but doesn't seem they are effective:
config.lru_purge_enable = true;
config.enable_so_linger = true;
config.linger_timeout = 1;
How to ensure the memory clears up after closing the web socket?
Regards,
Sina
Web Socket does not free up memory after closing
Who is online
Users browsing this forum: Bing [Bot] and 80 guests