mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +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
3
CHANGES
3
CHANGES
|
@ -3,6 +3,9 @@ Testing:
|
|||
test.sh now produces a list of tests that could not be performed for
|
||||
any reason. This helps to analyse these cases.
|
||||
|
||||
OpenSSL s_server appearently started to neglect TCPs half close feature.
|
||||
Test OPENSSL_TCP4 has been changed to tolerate this.
|
||||
|
||||
####################### V 1.7.3.4:
|
||||
|
||||
Corrections:
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
"1.7.3.4"
|
||||
"1.7.3.4+"
|
||||
|
|
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…
Reference in a new issue