mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复https客户端无法完成ssl握手的问题
This commit is contained in:
parent
422a0ce86e
commit
5304d81306
@ -1 +1 @@
|
|||||||
Subproject commit bdc1fb594b96c0ec7b56cf2afffa1ff02341cdbb
|
Subproject commit eb3e28a6188fc8a7e5007215cc10a2b8c35c2cdd
|
@ -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) {
|
||||||
//创建下载器
|
//创建下载器
|
||||||
|
Loading…
Reference in New Issue
Block a user