From 5304d813066c0223b3d537e3c5a25cb08592ad4f Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 30 May 2019 10:12:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhttps=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E6=97=A0=E6=B3=95=E5=AE=8C=E6=88=90ssl=E6=8F=A1?= =?UTF-8?q?=E6=89=8B=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpart/ZLToolKit | 2 +- tests/test_httpClient.cpp | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/3rdpart/ZLToolKit b/3rdpart/ZLToolKit index bdc1fb59..eb3e28a6 160000 --- a/3rdpart/ZLToolKit +++ b/3rdpart/ZLToolKit @@ -1 +1 @@ -Subproject commit bdc1fb594b96c0ec7b56cf2afffa1ff02341cdbb +Subproject commit eb3e28a6188fc8a7e5007215cc10a2b8c35c2cdd diff --git a/tests/test_httpClient.cpp b/tests/test_httpClient.cpp index 78ea140e..4b6f12d2 100644 --- a/tests/test_httpClient.cpp +++ b/tests/test_httpClient.cpp @@ -59,11 +59,8 @@ int main(int argc, char *argv[]) { //下载器map map downloaderMap; //下载两个文件,一个是http下载,一个https下载 - auto urlList = {"https://timgsa.baidu.com/timg?image&quality=80&" - "size=b9999_10000&sec=1537717640404&" - "di=f602efbebbc1e7f6b9ccb0bf0def89d0&" - "imgtype=0&" - "src=http%3A%2F%2Fimgsrc.baidu.com%2Fimgad%2Fpic%2Fitem%2F241f95cad1c8a786ff65052a6d09c93d70cf5042.jpg",}; + auto urlList = {"http://www.baidu.com/img/baidu_resultlogo@2.png", + "https://www.baidu.com/img/baidu_resultlogo@2.png"}; for (auto &url : urlList) { //创建下载器