From 4744531fcf57b5a6114d4679b9e9e85549c7436b Mon Sep 17 00:00:00 2001 From: "Craig Edwards (Brain)" Date: Sun, 22 Oct 2023 16:47:15 +0100 Subject: [PATCH] fix, test: multiheader-cookie test, now queries a domain and url in our control which returns 3 hard coded test cookies (#968) --- src/unittest/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unittest/test.cpp b/src/unittest/test.cpp index 086e0336f9..6775452153 100644 --- a/src/unittest/test.cpp +++ b/src/unittest/test.cpp @@ -286,7 +286,7 @@ Markdown lol \\|\\|spoiler\\|\\| \\~\\~strikethrough\\~\\~ \\`small \\*code\\* b set_test(MULTIHEADER, false); try { - dpp::https_client c2("www.google.com", 80, "/", "GET", "", {}, true); + dpp::https_client c2("dl.dpp.dev", 443, "/cookietest.php", "GET", "", {}); size_t count = c2.get_header_count("set-cookie"); size_t count_list = c2.get_header_list("set-cookie").size(); // Google sets a bunch of cookies when we start accessing it.