turn on large static buffers for callbacks, easier for user

This commit is contained in:
toddouska 2013-05-20 12:46:54 -07:00
parent 10e6e7fbb5
commit 7693b4282a

View File

@ -832,6 +832,14 @@ enum {
#define MTU_EXTRA 0
#endif
/* embedded callbacks require large static buffers, make sure on */
#ifdef CYASSL_CALLBACKS
#undef LARGE_STATIC_BUFFERS
#define LARGE_STATIC_BUFFERS
#endif
/* give user option to use 16K static buffers */
#if defined(LARGE_STATIC_BUFFERS)
#define RECORD_SIZE MAX_RECORD_SIZE