HTTP Server stack size

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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 */

#else

#define HTTP_SERVER_STACK_SIZE      (10000)

#endif

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

0 Likes
1 Reply
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

Thanks Tsachi, I believe you are right. Will confirm soon

0 Likes