修复https客户端无法完成ssl握手的问题

This commit is contained in:
xiongziliang 2019-05-30 10:12:47 +08:00
parent 422a0ce86e
commit 5304d81306
2 changed files with 3 additions and 6 deletions

@ -1 +1 @@
Subproject commit bdc1fb594b96c0ec7b56cf2afffa1ff02341cdbb Subproject commit eb3e28a6188fc8a7e5007215cc10a2b8c35c2cdd

View File

@ -59,11 +59,8 @@ int main(int argc, char *argv[]) {
//下载器map //下载器map
map<string, HttpDownloader::Ptr> downloaderMap; map<string, HttpDownloader::Ptr> downloaderMap;
//下载两个文件一个是http下载一个https下载 //下载两个文件一个是http下载一个https下载
auto urlList = {"https://timgsa.baidu.com/timg?image&quality=80&" auto urlList = {"http://www.baidu.com/img/baidu_resultlogo@2.png",
"size=b9999_10000&sec=1537717640404&" "https://www.baidu.com/img/baidu_resultlogo@2.png"};
"di=f602efbebbc1e7f6b9ccb0bf0def89d0&"
"imgtype=0&"
"src=http%3A%2F%2Fimgsrc.baidu.com%2Fimgad%2Fpic%2Fitem%2F241f95cad1c8a786ff65052a6d09c93d70cf5042.jpg",};
for (auto &url : urlList) { for (auto &url : urlList) {
//创建下载器 //创建下载器