1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-27 13:02:57 +00:00

test.sh: OpenSSL s_server now neglect TCPs half close feature

This commit is contained in:
Gerhard Rieger 2020-10-29 13:16:14 +01:00
parent c4d7718bca
commit c6c8ff784c
3 changed files with 7 additions and 2 deletions

View file

@ -4145,7 +4145,9 @@ eval "$CMD2 2>\"${te}1\" &"
pid=$! # background process id
# this might timeout when openssl opens tcp46 port like " :::$PORT"
waittcp4port $PORT
echo "$da" |$CMD >$tf 2>"${te}2"
#echo "$da" |$CMD >$tf 2>"${te}2"
#note: with about OpenSSL 1.1 s_server lost the half close feature, thus:
(echo "$da"; sleep 0.1) |$CMD >$tf 2>"${te}2"
if ! echo "$da" |diff - "$tf" >"$tdiff"; then
$PRINTF "$FAILED: $TRACE $SOCAT:\n"
echo "$CMD2 &"