Skip to content

Abstract TLS API support (Resolve #2309)#2342

Merged
yhirose merged 5 commits intomasterfrom
ssl
Feb 2, 2026
Merged

Abstract TLS API support (Resolve #2309)#2342
yhirose merged 5 commits intomasterfrom
ssl

Conversation

@yhirose
Copy link
Copy Markdown
Owner

@yhirose yhirose commented Feb 2, 2026

Abstract TLS API support. Currently, the following backends are supported.

  • OpenSSL
  • MbedTLS

@yhirose yhirose merged commit 6be32a5 into master Feb 2, 2026
21 of 22 checks passed
@Spixmaster
Copy link
Copy Markdown
Contributor

Spixmaster commented Feb 2, 2026

@Tachi107, I think that this requires a small update of CMakeLists.txt. Probably a new component like MbedTLS to set the macro CPPHTTPLIB_MBEDTLS_SUPPORT.

Sets macro CPPHTTPLIB_OPENSSL_SUPPORT.

find_package("httplib" REQUIRED COMPONENTS "Brotli" "OpenSSL" "ZLIB" "zstd")

Needs to set macro CPPHTTPLIB_MBEDTLS_SUPPORT.

find_package("httplib" REQUIRED COMPONENTS "Brotli" "MbedTLS" "ZLIB" "zstd")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants