I'm having the same problem as OP.
I'm running the "OS SDK ver: 1.4.0(c599790) compiled @ Mar 1 2016 17:25:17" sdk version.
No matter where I put the
Code: Select all
espconn_set_opt(connPtr, ESPCONN_REUSEADDR);
Code: Select all
system_get_free_heap_size: 9632.
Client connected.
Request received.
Response sent.
Client disconnected.
system_get_free_heap_size: 9408.
Is there a patch needed for RTOS as well?