删除无用的代码
This commit is contained in:
@@ -973,7 +973,6 @@ static int upstream_ossl_init(struct ssl_stream* s_stream)
|
|||||||
if (chello->alpn && s_stream->up_parts.apln_enabled)
|
if (chello->alpn && s_stream->up_parts.apln_enabled)
|
||||||
{
|
{
|
||||||
ret=SSL_set_alpn_protos(ssl, (unsigned char*)chello->alpn, strlen(chello->alpn));
|
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);
|
assert(ret==0);
|
||||||
}
|
}
|
||||||
/* lower memory footprint for idle connections */
|
/* lower memory footprint for idle connections */
|
||||||
|
|||||||
Reference in New Issue
Block a user