mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
Force sending stats message to sec-mod from worker on disconnect
This commit is contained in:
@@ -306,9 +306,6 @@ void send_stats_to_secmod(worker_st * ws, time_t now, unsigned discon_reason)
|
||||
CliStatsMsg msg = CLI_STATS_MSG__INIT;
|
||||
int sd, ret, e;
|
||||
|
||||
if (now - ws->last_stats_msg < MIN_STATS_INTERVAL)
|
||||
return;
|
||||
|
||||
ws->last_stats_msg = now;
|
||||
|
||||
sd = connect_to_secmod(ws);
|
||||
|
||||
Reference in New Issue
Block a user