]> git.ipfire.org Git - thirdparty/strongswan.git/commit
charon-svc: Register for stop events not before reaching STATUS_RUNNING
authorMartin Willi <martin@revosec.ch>
Wed, 28 May 2014 14:14:04 +0000 (16:14 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:12 +0000 (15:53 +0200)
commit4ce8b0cae6b2aabe109d17fa419965da848a3ae1
treee3f0cde3ffb7add0af5c24a713316a487afb28ca
parentef7bfadabb3440ea25ad3cb19ea1ff442fa0c6ce
charon-svc: Register for stop events not before reaching STATUS_RUNNING

MSDN SetServiceStatus(): "Do not register to accept controls while the status
is SERVICE_START_PENDING or the service can crash."
src/charon-svc/charon-svc.c