删除无用的代码

This commit is contained in:
luwenpeng
2019-08-28 17:52:29 +08:00
parent fe78b7e41f
commit dc726801f0

View File

@@ -973,7 +973,6 @@ static int upstream_ossl_init(struct ssl_stream* s_stream)
if (chello->alpn && s_stream->up_parts.apln_enabled)
{
ret=SSL_set_alpn_protos(ssl, (unsigned char*)chello->alpn, strlen(chello->alpn));
TFE_LOG_ERROR(mgr->logger, "ssl stream, SSL_set_alpn_protos() failed.");
assert(ret==0);
}
/* lower memory footprint for idle connections */