]> git.ipfire.org Git - thirdparty/strongswan.git/commit
vici: Provide a way to stop listening and re-connect in Python bindings
authorTobias Brunner <tobias@strongswan.org>
Fri, 3 Oct 2025 08:59:03 +0000 (10:59 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 7 Oct 2025 07:22:38 +0000 (09:22 +0200)
commit79da1172831a43f044fe6ea1a03c0799aeb55e02
tree352ebd5a4bd5622991cbca953b113731befc6058
parent4e065a96242fbbf7dc09a4bd004d6239303ffc9a
vici: Provide a way to stop listening and re-connect in Python bindings

This allows re-connecting to a new session in a disconnect listener and
continue listening without having to return from listen().  The exception
can also be used to stop listening after some condition (e.g. to wait
until a specific SA got created and then stop).
src/libcharon/plugins/vici/python/vici/__init__.py
src/libcharon/plugins/vici/python/vici/event_listener.py