feat(clients): wolfssl TLS transport for the http client

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 03:10:28 +02:00
co-authored by Claude Sonnet 5.5
parent bb8fcf9cf7
commit 81120b113b
5 changed files with 275 additions and 50 deletions
+3 -1
View File
@@ -344,11 +344,13 @@ TEST(http, connect_refused_is_connect_phase) {
}
TEST(http, https_needs_tls_stub) {
// Real wolfSSL is linked: HTTPS to a cleartext loop server fails loud
// with TlsError (handshake failure), never silently downgrades.
LoopServer server;
Client client(std::make_unique<HttpTransport>());
ASSERT_THROW(client.get_blocking("https://127.0.0.1:" +
std::to_string(server.port()) + "/"),
TlsStubError);
transports::TlsError);
}
TEST(http, h2c_stub) {