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

2015-10-10 Thread Gert Doering
Hi, On Sat, Oct 10, 2015 at 10:39:08AM +0200, Arne Schwabe wrote: > Am 22.01.14 um 09:27 schrieb 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. > > ACK. It is a strange

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

2015-10-10 Thread Arne Schwabe
Am 22.01.14 um 09:27 schrieb 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. > ACK. It is a strange cornercase and the patch does not change behaviour otherwise. Arne

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