-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
[mbedTLS] Enable TLS 1.3 support #96394
Conversation
7268ef1
to
521bde9
Compare
The cicd check is failing on |
Yes, seems like a build system issue on Windows + MSVC (not MinGW apparently). I don't know how to fix that and I currently can't easily test MSVC builds, so help is welcome. |
Probably in the same way as |
521bde9
to
3c66820
Compare
It's actually already is using |
For the reference, max length seems to be |
d88baad
to
42136d0
Compare
Opened #97458 with the windows fix. Thanks for the help, this was driving me crazy |
OMG you are hero! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expect small tests to work but I don’t think anyone in the godot developer community would be able to test the obscure browser combinations.
My vote is to send the branch into to a pre-release asap.
Edited:
Since @Faless is the web maintainer I don’t know who else can really review it.
I tested it in my project. My application was finally loading data for a period but then started failing. |
936657c
to
8984098
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on Linux, seems to work for me:
TLS 1.3 supported :)
8984098
to
27c1894
Compare
Move library initialization to module registration functions. Only set library debug threshold when verbose output is enabled. TLSv1.3 functions seems to be a bit more verbose then expected, and generate a lot of noise. Yet, some level of debugging without recompiling the engine would be nice. We should discuss this upstream.
27c1894
to
8ffb769
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch to update the docs too.
Thanks! |
Testing again (Kubuntu btw). |
@DjSapsan please open a dedicated issue with a minimal reproduction project. It's not really possible to understand what's going on otherwise. |
Move library initialization to module registration functions.
Only set library debug threshold when verbose output is enabled.
TLSv1.3 functions seems to be a bit more verbose then expected, and generate a lot of noise. Yet, some level of debugging without recompiling the engine would be nice. We should discuss this upstream.
Draft status:
Depends on [mbedTLS] Update to 3.6.1 #96385Depends on [SCons] Remove MAXLINELENGTH override for MSVC #97458Fixes #92101
Test:
Note for package maintainers: When using
builtin_mbedtls=no
TLS 1.3 support will depend on the system library version and configuration.