Re: [Openvpn-devel] [PATCH] Update expiry date in management event loop

2014-01-22 Thread Thomas Veerman
The condition under which I encountered this was trying to set up a connection using "tcp-client" and then querying the management console every 500 milliseconds for the connection state. This would never proceed beyond TCP_CONNECT. If you query less than once per second it works fine. When con

[Openvpn-devel] [PATCH] Update expiry date in management event loop

2014-01-22 Thread Thomas Veerman
When there are events from the management console with an interval shorter than 1 second, the event loop never stops as it keeps resetting event_wait. ---  src/openvpn/manage.c | 3 ++-  1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openvpn/manage.c b/src/openvpn/manage.c index 22