From 7f1d0fe672948f84797909f3452aa6f2d6a1d3a4 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Sat, 7 Jan 2023 08:58:51 +0700 Subject: [PATCH] update curl to 7.87.0 --- CMakeLists.txt | 2 +- untests/curly_tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fc4d2f..62fd616 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,7 @@ if(USE_EMBEDDED_CURL) FetchContent_Declare( embedded_curl GIT_REPOSITORY https://github.com/curl/curl - GIT_TAG curl-7_84_0) + GIT_TAG curl-7_87_0) FetchContent_GetProperties(embedded_curl) if(NOT embedded_curl_POPULATED) diff --git a/untests/curly_tests.cpp b/untests/curly_tests.cpp index a699927..5eb9b90 100644 --- a/untests/curly_tests.cpp +++ b/untests/curly_tests.cpp @@ -101,7 +101,7 @@ TEST_CASE("curly") { SUBCASE("wait") { { - auto req = net::request_builder("https://httpbin.org/delay/1").send(); + auto req = net::request_builder("https://httpbin.org/delay/2").send(); REQUIRE(req.status() == net::req_status::pending); REQUIRE(req.wait() == net::req_status::done); REQUIRE(req.status() == net::req_status::done);