summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-05-04 22:50:07 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-05-04 22:50:07 +0100
commitc229b095ededc4465e05d94230e5ab9a2a7061a9 (patch)
treead5921318cb281e03d3988ebcf00a81c529d8fc9
parentInstall everything with jam (diff)
downloadlibadhocutil-c229b095ededc4465e05d94230e5ab9a2a7061a9.tar.bz2
libadhocutil-c229b095ededc4465e05d94230e5ab9a2a7061a9.tar.xz
libadhocutil-c229b095ededc4465e05d94230e5ab9a2a7061a9.zip
Update test URLs with protocol change
-rw-r--r--libadhocutil/unittests/testCurl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libadhocutil/unittests/testCurl.cpp b/libadhocutil/unittests/testCurl.cpp
index 04d5ed9..6435224 100644
--- a/libadhocutil/unittests/testCurl.cpp
+++ b/libadhocutil/unittests/testCurl.cpp
@@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE( fetch_missing )
BOOST_AUTO_TEST_CASE( fetch_http_stream )
{
- CurlStreamSource css("http://sys.randomdan.homeip.net/env.cgi");
+ CurlStreamSource css("https://sys.randomdan.homeip.net/env.cgi");
css.appendHeader("X-POWERED-BY: mature-cheddar");
CurlStream curlstrm(css);
std::string tok;
@@ -142,7 +142,7 @@ BOOST_AUTO_TEST_CASE( fetch_multi_fail )
CurlMultiHandle cmh;
bool errored = false;
bool finished = false;
- cmh.addCurl("http://sys.randomdan.homeip.net/missing", [&finished, &errored](std::istream & s) {
+ cmh.addCurl("https://sys.randomdan.homeip.net/missing", [&finished, &errored](std::istream & s) {
std::string tok;
while (!s.eof()) {
if (!s.good()) {