This PR adds the TLS 1.3 Middlebox Compatibility to WolfSSL (RFC8446 Appendix D.4), which may help for some traffic profiles on some networks.
Description
Add -DWOLFSSL_TLS13_MIDDLEBOX_COMPAT flag WolfSSL for all device types (no D prefix for Windows).
Motivation and Context
Enabling TLS 1.3 Middlebox Compatibility Mode has been documented to help some TLS connections more reliably traverse some networks, as described in the RFC linked above, and elsewhere on the Internet.
How Has This Been Tested?
Build Lightway and observe the TLS handshake contains elements described in RFC8446 Appendix D.4, linked above.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All active GitHub checks are passing
[ ] The correct base branch is being used, if not main
This PR adds the TLS 1.3 Middlebox Compatibility to WolfSSL (RFC8446 Appendix D.4), which may help for some traffic profiles on some networks.
Description
-DWOLFSSL_TLS13_MIDDLEBOX_COMPAT
flag WolfSSL for all device types (noD
prefix for Windows).Motivation and Context
Enabling TLS 1.3 Middlebox Compatibility Mode has been documented to help some TLS connections more reliably traverse some networks, as described in the RFC linked above, and elsewhere on the Internet.
How Has This Been Tested?
Build Lightway and observe the TLS handshake contains elements described in RFC8446 Appendix D.4, linked above.
Types of changes
Checklist:
main