mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Fix #1796
This commit is contained in:
parent
3d6e315a4c
commit
a79c56d06b
2 changed files with 65 additions and 16 deletions
|
@ -77,6 +77,9 @@ cli.set_ca_cert_path("./ca-bundle.crt");
|
|||
|
||||
// Disable cert verification
|
||||
cli.enable_server_certificate_verification(false);
|
||||
|
||||
// Disable host verification
|
||||
cli.enable_server_host_verification(false);
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue