From c6c8ff784c1c60618634972281e4b6a997709da9 Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Thu, 29 Oct 2020 13:16:14 +0100 Subject: [PATCH] test.sh: OpenSSL s_server now neglect TCPs half close feature --- CHANGES | 3 +++ VERSION | 2 +- test.sh | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index dcef796..82741a5 100644 --- a/CHANGES +++ b/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: diff --git a/VERSION b/VERSION index 0c0b8c9..5bd265d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -"1.7.3.4" +"1.7.3.4+" diff --git a/test.sh b/test.sh index 3df483d..03da9f9 100755 --- a/test.sh +++ b/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 &"