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:
parent
c4d7718bca
commit
c6c8ff784c
3 changed files with 7 additions and 2 deletions
4
test.sh
4
test.sh
|
@ -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 &"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue