Topic: WOLFSSL_DTLS_MTU

Hallo, I'm on client side. I need to set MTU, to do this I have to #define WOLFSSL_DTLS.
My question is:
What does imply definign this?What's the difference between defining it or not?
Is it also possible to use it in tls1.3?
Thank you
Isabella.

Share

Re: WOLFSSL_DTLS_MTU

Hello Isabella,

To enable a DTLS MTU you will need to define WOLFSSL_DTLS and WOLFSSL_DTLS_MTU.  These defines enable DTLS and enable setting the DTLS MTU.  We do support DTLS 1.3 as well which you can enable by defining WOLFSSL_DTLS13.

The implication is you're enabling DTLS which is different than TLS, it uses UDP vs TLS which uses TCP.  You can't set the MTU in TLS 1.3, we only support this for DTLS.

Thanks,
Kareem

Share