mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-13 16:35:35 +08:00
Merge branch 'gitee-master' into gitlab-upstream
This commit is contained in:
commit
da538cc962
@ -182,6 +182,8 @@ void openssl_io::destroy(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAS_OPENSSL
|
||||
|
||||
static bool set_sock_timeo(ACL_SOCKET fd, int opt, int timeout)
|
||||
{
|
||||
if (timeout <= 0) {
|
||||
@ -209,6 +211,8 @@ static bool set_sock_timeo(ACL_SOCKET fd, int opt, int timeout)
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool openssl_io::open(ACL_VSTREAM* s)
|
||||
{
|
||||
if (s == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user