@@ -6002,10 +6002,15 @@ int AddCA(WOLFSSL_CERT_MANAGER* cm, DerBuffer** pDer, int type, int verify)
60026002 aren't under heavy load, basically allows 200 new sessions per minute
60036003
60046004 SMALL_SESSION_CACHE only stores 6 sessions, good for embedded clients
6005- or systems where the default of nearly 3kB is too much RAM, this define
6006- uses less than 500 bytes RAM
6005+ or systems where the default of is too much RAM.
6006+ SessionCache takes about 2K, ClientCache takes about 3Kbytes
6007+
6008+ MICRO_SESSION_CACHE only stores 1 session, good for embedded clients
6009+ or systems where memory is at a premium.
6010+ SessionCache takes about 400 bytes, ClientCache takes 576 bytes
60076011
60086012 default SESSION_CACHE stores 33 sessions (no XXX_SESSION_CACHE defined)
6013+ SessionCache takes about 13K bytes, ClientCache takes 17K bytes
60096014 */
60106015 #if defined(TITAN_SESSION_CACHE)
60116016 #define SESSIONS_PER_ROW 31
@@ -6025,6 +6030,9 @@ int AddCA(WOLFSSL_CERT_MANAGER* cm, DerBuffer** pDer, int type, int verify)
60256030 #elif defined(SMALL_SESSION_CACHE)
60266031 #define SESSIONS_PER_ROW 2
60276032 #define SESSION_ROWS 3
6033+ #elif defined(MICRO_SESSION_CACHE)
6034+ #define SESSIONS_PER_ROW 1
6035+ #define SESSION_ROWS 1
60286036 #else
60296037 #define SESSIONS_PER_ROW 3
60306038 #define SESSION_ROWS 11
0 commit comments