mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Clear ssl_ctx if not SSL transport type.
This commit is contained in:
@@ -502,6 +502,8 @@ int RouteManager::get(enum TransportType type,
|
||||
if (ssl_ctx == NULL)
|
||||
ssl_ctx = global_client_ctx;
|
||||
}
|
||||
else
|
||||
ssl_ctx = NULL;
|
||||
|
||||
uint64_t key = __generate_key(type, addrinfo, other_info, ep_params,
|
||||
hostname, ssl_ctx);
|
||||
|
||||
Reference in New Issue
Block a user