* Fix: http1 parser termination with EOF required on freebsd flex
* Test: sed -i does not seem to work on all platforms
This commit is contained in:
parent
bf00fdf2c1
commit
503c4f8754
4 changed files with 9 additions and 5 deletions
|
|
@ -216,8 +216,9 @@ expectpart "$(curl $CURLOPTS -X GET -H 'Accept: application/yang-data+xml' $RCPR
|
|||
# Look for netcat or nc for direct socket http calls
|
||||
if [ -n "$(type netcat 2> /dev/null)" ]; then
|
||||
netcat="netcat -w 1" # -N does not work on fcgi
|
||||
elif [ -n "$(type nc 2> /dev/null)" ]; then
|
||||
netcat=nc
|
||||
# nc on freebsd does not work either
|
||||
#elif [ -n "$(type nc 2> /dev/null)" ]; then
|
||||
# netcat=nc
|
||||
else
|
||||
netcat=
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue