mirror of
https://github.com/BlackMATov/curly.hpp.git
synced 2025-12-12 19:18:28 +07:00
update curl to 7.87.0
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user