mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
ensure that stats are only updated if they increase
That is, transferred bytes will not decrease in an update due to miscommunication between main and workers.
This commit is contained in:
+4
-1
@@ -189,7 +189,10 @@ message cookie
|
||||
message sec_auth_session_msg
|
||||
{
|
||||
required bytes sid = 1;
|
||||
optional uint32 uptime = 3; /* on close */
|
||||
/* on close */
|
||||
optional uint32 uptime = 3;
|
||||
optional uint64 bytes_in = 4;
|
||||
optional uint64 bytes_out = 5;
|
||||
}
|
||||
|
||||
message sec_auth_session_reply_msg
|
||||
|
||||
Reference in New Issue
Block a user