1.修改多线程多并发时evhttp异常退出问题
2.添加openssl锁初始化回调函数
This commit is contained in:
fengweihao
2018-06-29 17:18:33 +08:00
parent 062142ef41
commit 75cd3bbd23
3 changed files with 192 additions and 212 deletions

View File

@@ -37,6 +37,12 @@ typedef struct {
rt_pthread_attr *attr;
EVP_PKEY *key;
X509 *root;
struct redisAsyncContext *cl_ctx;
void * (*routine)(void *); /** Executive entry */
} libevent_thread;