Internal RESTCONF changes:

- Kill running process directly, not schedul a kill
- fcgi: when kill, make exit more ordered, ensure fcgi-accept returns properly
This commit is contained in:
Olof hagsand 2021-04-29 17:27:39 +02:00
parent 27af25f57b
commit aaaeec92eb
17 changed files with 116 additions and 56 deletions

View file

@ -413,7 +413,7 @@ if [ "${WITH_RESTCONF}" = "native" ]; then
protos="$protos https"
fi
for proto in $protos; do
# addrs="127.0.0.1"
addrs="127.0.0.1"
if $IPv6 ; then
addrs="$addrs \[::1\]"
fi
@ -429,6 +429,7 @@ unset RCPROTO
# Set by restconf_config
unset RESTCONFIG
unset RESTCONFIG1
unset ret
rm -rf $dir