I noticed that the http server thread stack size is defined as : ( MACOS SDK 3.1.2 )
#if (defined(WPRINT_ENABLE_WEBSERVER) && (defined(WPRINT_ENABLE_DEBUG) || defined(WPRINT_ENABLE_ERROR)))
#define HTTP_SERVER_STACK_SIZE (5000) /* printf requires 4K of stack */
#define HTTP_SERVER_STACK_SIZE (10000)
Could you please confirm that the logic here is correct and not reversed ?
( i.e. I suspect that while we don't have wprints, we would like to allocate *smaller* stack size.. )
Thanks Tsachi, I believe you are right. Will confirm soon