To use default MBEDTLS_SSL_MAX_CONTENT_LEN for non-TLS ext
/* SSL options */
-#if defined(MBEDTLS_SSL_MAX_CONTENT_LEN)
-#undef MBEDTLS_SSL_MAX_CONTENT_LEN
-#endif
-#define MBEDTLS_SSL_MAX_CONTENT_LEN 6144 //6144 //5120 //8192 /**< Maximum fragment length in bytes, determines the size of each of the two internal I/O buffers */
+/* Below configuration could be enabled as while Server & client support TLS ext */
+//#if defined(MBEDTLS_SSL_MAX_CONTENT_LEN)
+//#undef MBEDTLS_SSL_MAX_CONTENT_LEN
+//#endif
+//#define MBEDTLS_SSL_MAX_CONTENT_LEN 4096 /**< Maximum fragment length in bytes, determines the size of each of the two internal I/O buffers. */
#endif /* MBEDTLS_USER_CONFIG_H */
