mirror of
https://github.com/BlackMATov/curly.hpp.git
synced 2025-12-14 12:10:53 +07:00
update curl to 7.87.0
This commit is contained in:
@@ -84,7 +84,7 @@ if(USE_EMBEDDED_CURL)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
embedded_curl
|
embedded_curl
|
||||||
GIT_REPOSITORY https://github.com/curl/curl
|
GIT_REPOSITORY https://github.com/curl/curl
|
||||||
GIT_TAG curl-7_84_0)
|
GIT_TAG curl-7_87_0)
|
||||||
|
|
||||||
FetchContent_GetProperties(embedded_curl)
|
FetchContent_GetProperties(embedded_curl)
|
||||||
if(NOT embedded_curl_POPULATED)
|
if(NOT embedded_curl_POPULATED)
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ TEST_CASE("curly") {
|
|||||||
|
|
||||||
SUBCASE("wait") {
|
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.status() == net::req_status::pending);
|
||||||
REQUIRE(req.wait() == net::req_status::done);
|
REQUIRE(req.wait() == net::req_status::done);
|
||||||
REQUIRE(req.status() == net::req_status::done);
|
REQUIRE(req.status() == net::req_status::done);
|
||||||
|
|||||||
Reference in New Issue
Block a user