修改编译错误。
This commit is contained in:
@@ -796,7 +796,8 @@ static SSL * upstream_ssl_create(struct ssl_mgr * mgr, const struct ssl_chello *
|
||||
}
|
||||
if (chello->alpn)
|
||||
{
|
||||
SSL_set_alpn_protos(ssl, chello->alpn, strlen(chello->alpn));
|
||||
ret=SSL_set_alpn_protos(ssl, (unsigned char*)chello->alpn, strlen(chello->alpn));
|
||||
assert(0);
|
||||
}
|
||||
/* lower memory footprint for idle connections */
|
||||
SSL_set_mode(ssl, SSL_get_mode(ssl) | SSL_MODE_RELEASE_BUFFERS);
|
||||
|
||||
Reference in New Issue
Block a user