#1610 renamed $waitsleep to $nr_waits in starttls_io(). However, $waitsleep still appears in one line:
[[ -n "$3" ]] && waitsleep=$3
The result is that $3 is ignored.
I thought the solution would be to just replace waitsleep with nr_waits on this line. However, the third parameter to starttls_io() is always 1, and setting $nr_waits to 1 would result in the loop never running and starttls_io() always returning 1. (Prior to #1610 $waitsleep was always set to 1 and so the loop never ran, but starttls_io() would always return 0.)
Before you open an issue please check which version you are running and whether it is the latest in stable / dev branch
Before you open an issue please consult the FAQ and check whether this is a known problem by searching the issues
Command line to reproduce (or docker command)
N/A
Expected behavior
N/A
Your system (please complete the following information):
N/A
AI section
#1610 renamed
$waitsleepto$nr_waitsinstarttls_io(). However,$waitsleepstill appears in one line:The result is that
$3is ignored.I thought the solution would be to just replace
waitsleepwithnr_waitson this line. However, the third parameter tostarttls_io()is always 1, and setting$nr_waitsto 1 would result in the loop never running andstarttls_io()always returning 1. (Prior to #1610$waitsleepwas always set to 1 and so the loop never ran, butstarttls_io()would always return 0.)Before you open an issue please check which version you are running and whether it is the latest in stable / dev branch
Before you open an issue please consult the FAQ and check whether this is a known problem by searching the issues
Command line to reproduce (or docker command)
N/A
Expected behavior
N/A
Your system (please complete the following information):
N/A
AI section