Slightly increase thread stack size for safety (primary Alpine related) possibly GitHub #443

This commit is contained in:
Adam Ierymenko 2017-01-30 08:01:36 -08:00
parent 2ceb162df0
commit 471108f2e4
2 changed files with 7 additions and 1 deletions

View file

@ -419,6 +419,11 @@
#define ZT_UDP_DESIRED_BUF_SIZE 131072
#endif
/**
* Desired / recommended min stack size for threads (used on some platforms to reset thread stack size)
*/
#define ZT_THREAD_MIN_STACK_SIZE 1048576
/* Ethernet frame types that might be relevant to us */
#define ZT_ETHERTYPE_IPV4 0x0800
#define ZT_ETHERTYPE_ARP 0x0806