forked from wolfSSL/wolfssl
Expose RemoveStaleSessions sniffer API
This commit is contained in:
@@ -5129,6 +5129,12 @@ static void RemoveStaleSessions(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ssl_RemoveStaleSessions(void)
|
||||||
|
{
|
||||||
|
LOCK_SESSION();
|
||||||
|
RemoveStaleSessions();
|
||||||
|
UNLOCK_SESSION();
|
||||||
|
}
|
||||||
|
|
||||||
/* Create a new Sniffer Session */
|
/* Create a new Sniffer Session */
|
||||||
static SnifferSession* CreateSession(IpInfo* ipInfo, TcpInfo* tcpInfo,
|
static SnifferSession* CreateSession(IpInfo* ipInfo, TcpInfo* tcpInfo,
|
||||||
|
@@ -150,6 +150,8 @@ SSL_SNIFFER_API void ssl_InitSniffer_ex2(int threadNum);
|
|||||||
WOLFSSL_API
|
WOLFSSL_API
|
||||||
SSL_SNIFFER_API void ssl_FreeSniffer(void);
|
SSL_SNIFFER_API void ssl_FreeSniffer(void);
|
||||||
|
|
||||||
|
WOLFSSL_API
|
||||||
|
SSL_SNIFFER_API void ssl_RemoveStaleSessions(void);
|
||||||
|
|
||||||
/* ssl_SetPrivateKey typeKs */
|
/* ssl_SetPrivateKey typeKs */
|
||||||
enum {
|
enum {
|
||||||
|
Reference in New Issue
Block a user