导航

2019年11月24日

摘要: curl默认情况下有两个地方是线程不安全的, 需要特殊处理, 1是curl_global_init 这个函数必须单线程调用, 2是默认多线程调用https会莫名其妙的挂掉, 以下是网上的解决方案 https://curl.haxx.se/libcurl/c/opensslthreadlock.htm 阅读全文

posted @ 2019-11-24 22:13 talenth 阅读(1892) 评论(0) 推荐(0) 编辑