CLI argument to shell example callback

Save state of netconf chunked framing between inputs
Treat EBADF in internal protocol (triggered by freebsd+notifications)
Test: chunked encoding: use printf instead of echo
This commit is contained in:
Olof hagsand 2022-04-10 10:31:03 +02:00
parent ac7673bc35
commit ecac027d18
7 changed files with 45 additions and 17 deletions

View file

@ -375,13 +375,8 @@ function chunked_framing()
{
str=$1
length=${#str}
echo -n "
#${length}
"
echo -n "$str"
echo -n "
##
"
printf "\n#%s\n%s\n##\n" ${length} "${str}"
}
# Start backend with all varargs.