fix shutdown issue when building without SSL
This commit is contained in:
@@ -3660,6 +3660,8 @@ namespace libtorrent
|
|||||||
default: m_socket->close(e); break;
|
default: m_socket->close(e); break;
|
||||||
}
|
}
|
||||||
#undef CASE
|
#undef CASE
|
||||||
|
#else
|
||||||
|
m_socket->close(e);
|
||||||
#endif // TORRENT_USE_OPENSSL
|
#endif // TORRENT_USE_OPENSSL
|
||||||
|
|
||||||
m_ses.close_connection(this, ec);
|
m_ses.close_connection(this, ec);
|
||||||
|
Reference in New Issue
Block a user