Add option to disable SSL validate

This commit is contained in:
marcelb 2023-11-29 22:30:47 +01:00
parent d7728c5b23
commit 58fe5f1673
2 changed files with 3 additions and 2 deletions

BIN
test/test

Binary file not shown.

View File

@ -52,8 +52,9 @@ int main () {
for (uint i=0; i<4; i++) { for (uint i=0; i<4; i++) {
debx_responses.push_back(async(launch::async, [&](){ debx_responses.push_back(async(launch::async, [&](){
Curl rest; Curl rest;
rest.timeout(600); // rest.timeout(6000);
return rest.get("https://reqres.iin/api/users/2"); rest.sslvalidate(false);
return rest.get("https://lab-it.ddns.net");
})); }));
} }