Hi,

> So it seems as the timer activation got delayed somehow
> -> this is something we need to come back to, when Linux/FreeBSD DCO
> stats get implemented.  Starting with "management-hold", then "bytecount",
> then "hold release" gave me counters right away.  Mysteries...

This is because we do not trigger this new timer (for example by
calling reset_coarse_timers)
when we init it in man_bytecount(). We do not have "struct context"
there to do it.

Follow-up calls to reset_coarse_timers() or process_coarse_timers()
will do the trick. However, in DCO case nothing might happen in userspace
for a while, hence delay. GUI does "management-hold", sends "bytecount 5"
and after that "hold-release".

-Lev


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to