:orphan: .. title:: CONFIG_NET_SOCKETS_TLS_SET_MAX_FRAGMENT_LENGTH .. kconfig:: CONFIG_NET_SOCKETS_TLS_SET_MAX_FRAGMENT_LENGTH CONFIG_NET_SOCKETS_TLS_SET_MAX_FRAGMENT_LENGTH ############################################## *Set Maximum Fragment Length (MFL)* Type: ``bool`` Help ==== .. code-block:: none Call mbedtls_ssl_conf_max_frag_len() on created TLS context configuration, so that Maximum Fragment Length (MFL) will be sent to peer using RFC 6066 max_fragment_length extension. Maximum Fragment Length (MFL) value is automatically chosen based on MBEDTLS_SSL_OUT_CONTENT_LEN and MBEDTLS_SSL_IN_CONTENT_LEN mbed TLS macros (which are configured by CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN in case of default mbed TLS config). This is mostly useful for TLS client side to tell TLS server what is the maximum supported receive record length. Direct dependencies =================== \ :kconfig:`NET_SOCKETS ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== At ``/net/lib/sockets/Kconfig:65`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:89`` → ``/net/lib/Kconfig:30`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API .. code-block:: kconfig config NET_SOCKETS_TLS_SET_MAX_FRAGMENT_LENGTH bool "Set Maximum Fragment Length (MFL)" default y depends on NET_SOCKETS && NETWORKING help Call mbedtls_ssl_conf_max_frag_len() on created TLS context configuration, so that Maximum Fragment Length (MFL) will be sent to peer using RFC 6066 max_fragment_length extension. Maximum Fragment Length (MFL) value is automatically chosen based on MBEDTLS_SSL_OUT_CONTENT_LEN and MBEDTLS_SSL_IN_CONTENT_LEN mbed TLS macros (which are configured by CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN in case of default mbed TLS config). This is mostly useful for TLS client side to tell TLS server what is the maximum supported receive record length. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*