File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7177,12 +7177,11 @@ sub_early_data() {
71777177 else
71787178 return 5
71797179 fi
7180-
7181- safe_echo "HEAD / HTTP/1.1\r\nHost: $NODE\r\nConnection: close\r\nEarly-Data: 1\r\n\r\n" > $early_data
7180+ safe_echo "GET / HTTP/1.1\r\nHost: $NODE\r\nEarly-Data: 1\r\nConnection: close\r\n\r\n" > $early_data
71827181 $openssl_bin s_client $(s_client_options "$STARTTLS $BUGS -tls1_3 -connect $NODEIP:$PORT $PROXY $SNI") -sess_out $sess_data -ign_eof \
71837182 < $early_data >/dev/null 2>$ERRFILE
71847183 if [[ ! -s "$sess_data" ]]; then
7185- exit 7
7184+ return 7
71867185 fi
71877186
71887187 $openssl_bin s_client $(s_client_options "$STARTTLS $BUGS -tls1_3 -connect $NODEIP:$PORT $PROXY $SNI") -sess_in $sess_data \
@@ -10805,7 +10804,7 @@ run_server_defaults() {
1080510804 6) prln_warning "Client Auth: early data check not supported"
1080610805 fileout "$jsonID" "WARN" "check couldn't be performed because of client authentication"
1080710806 ;;
10808- 7) prln_warning "check failed (no session data"
10807+ 7) prln_warning "check failed (no session data received) "
1080910808 fileout "$jsonID" "WARN" "check failed (no session data)"
1081010809 ((ret++))
1081110810 ;;
You can’t perform that action at this time.
0 commit comments