Skip to content

Commit

Permalink
Bump curl from 8.4.0 to 8.8.0 (#205)
Browse files Browse the repository at this point in the history
* update curl to 8.8.0

* fix test
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

ryfu-msft authored Jul 24, 2024
1 parent 14b2b42 commit 6ab78af
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions cgmanifest.json
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
"type": "git",
"git": {
"repositoryUrl": "https://github.com/curl/curl",
"commitHash": "d755a5f7c009dd63a61b2c745180d8ba937cbfeb"
"commitHash": "fd567d4f06857f4fc8e2f64ea727b1318f76ad33"
}
},
"developmentDependency": false
@@ -56,7 +56,7 @@
"type": "git",
"git": {
"repositoryUrl": "https://github.com/curl/curl",
"commitHash": "d755a5f7c009dd63a61b2c745180d8ba937cbfeb"
"commitHash": "fd567d4f06857f4fc8e2f64ea727b1318f76ad33"
}
}
]
@@ -75,7 +75,7 @@
"type": "git",
"git": {
"repositoryUrl": "https://github.com/curl/curl",
"commitHash": "d755a5f7c009dd63a61b2c745180d8ba937cbfeb"
"commitHash": "fd567d4f06857f4fc8e2f64ea727b1318f76ad33"
}
}
]
8 changes: 4 additions & 4 deletions client/tests/functional/details/CurlConnectionTests.cpp
Original file line number Diff line number Diff line change
@@ -316,11 +316,11 @@ TEST("Testing a response over the limit fails the operation")
json body = {{{"TargetingAttributes", {}}, {"Product", largeProductName}}};
REQUIRE_NOTHROW(connection->Post(url, body.dump()));

// Over limit fails
// Going over the limit fails with a message like "client returned ERROR on write of 16384 bytes"
body[0]["Product"] = overLimitProductName;
REQUIRE_THROWS_CODE_MSG(connection->Post(url, body.dump()),
ConnectionUnexpectedError,
"Failure writing output to destination");
REQUIRE_THROWS_CODE_MSG_MATCHES(connection->Post(url, body.dump()),
ConnectionUnexpectedError,
Catch::Matchers::ContainsSubstring("client returned ERROR on write of"));
}

TEST("Testing MS-CV is sent to server")
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@
},
{
"name": "curl",
"version": "8.4.0"
"version": "8.8.0"
},
{
"name": "nlohmann-json",

0 comments on commit 6ab78af

Please sign in to comment.