viewtopic.php?p=107360
https://esp32.com/viewtopic.php?t=31858
So I enabled CONFIG_LWIP_SO_LINGER in menuconfig, and added:
Code: Select all
config.enable_so_linger = true;
config.linger_timeout = 5;
But the memory is still allocated for 2 min, like this config don't have any influence.
I ask you if you know what am I forgetting or why this isn't working.