#64 key keeper增加evdnsbase参数。

避免创建大量dnsbase,耗尽fd。ssl stream/tcp stream/proxy也做了相应修改。
This commit is contained in:
zhengchao
2018-11-26 14:54:20 +08:00
parent 35c2559f8a
commit ce9d7fa5eb
13 changed files with 82 additions and 47 deletions

View File

@@ -14,6 +14,7 @@ struct tfe_thread_ctx
unsigned int load;
struct event_base * evbase;
struct evdns_base* dnsbase;
unsigned char running;
unsigned int nr_modules;