mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-19 11:19:36 +00:00
ClientCertPresent() and ClientCertMissing() now take a setup step for the server, bind to any port instead of the legacy PORT, and the two new tests are just calls to them. ClientCertMissing also no longer checks the server certificate: with it checked, the request failed because cert.pem is not trusted, whether or not the server asked for a client certificate, so the test never exercised the client certificate requirement. A rejected client is reported as SSLConnection, or as Read on TLS 1.3, where the client only notices on its first read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGAYpQgXt95LdDQcJYgjB8