]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Avoid management log loop with verb >= 6
authorLev Stipakov <lev@openvpn.net>
Fri, 17 Feb 2023 12:21:55 +0000 (14:21 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 27 Feb 2023 07:12:21 +0000 (08:12 +0100)
commitb8eddda8524bf6f164361667bfce6bbb3fac846b
tree3ff5168f8b1d8d7ac585732f3c6240349cfae47f
parent4bdd04f7d308b8018fd9a90882a20a2a1e12472e
Avoid management log loop with verb >= 6

This log message is printed within check_tls(),
which is called by pre_select(), which is called
on every iteration of event loop.

When management is attached (and doesn't use own event loop),
this message sets management state to "wait write",
which arms event loop. When on the next iteration iowait
returns with "management write event is set", we call
pre_select() and print that message again, causing the loop.

Fix by simply removing this log message.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <20230217122156.541-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26284.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco.c