-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to change MTU (max_frag_len) fragmentation size. #82
Comments
Currently, it isn't possible but wrapping mbedtls_ssl_set_mtu or mbedtls_ssl_conf_max_frag_len, or both should be simple enough. These are the relevant options, right? |
If I'm not mistaken, upstream only allows the values you already noted: 512, 1024, 2048, and 4096. So it can't be set to 380. |
If I got that right ony mbedtls_ssl_conf_max_frag_len allow to use constant values. mbedtls_ssl_set_mtu allows to use any integer value. |
Yes, I think you're right. Reopening. |
Both functions are wrapped now in the library and they will be available in the next release. If you need the functionality faster, you should compile the library yourself, have a look under |
Thanks a lot! Approximately, when do you plan to make a new release? |
It should come in the next few days. |
2.7.0 is out on https://pypi.org/project/python-mbedtls/ |
I am submitting a …
Description
It will be very nice to have possibility to change maximum DTLS fragment size. In the ssl_server2 dtls=1 this parameter can be changed via max_frag_len=512, but it supports only the constant values 512, 1024, 2048, 4096. In my usecase I need max_frag_len=380. Is there are some possibility to change it now? (at least I did not found something related to that in the source code.
Minimal demo of the problem
The text was updated successfully, but these errors were encountered: