Skip to content

Commit 6716dc7

Browse files
authored
Merge pull request #2261 from osown/3.1dev
if PROXY variable is set there is no need to do a direct connection attempt
2 parents 2b0fdfd + 305855e commit 6716dc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11468,7 +11468,7 @@ fd_socket() {
1146811468
fi
1146911469
fi
1147011470
# Now comes the usual case
11471-
if ! exec 5<>/dev/tcp/$nodeip/$PORT && [[ -z "$PROXY" ]]; then
11471+
if [[ -z "$PROXY" ]] && ! exec 5<>/dev/tcp/$nodeip/$PORT; then
1147211472
((NR_SOCKET_FAIL++))
1147311473
connectivity_problem $NR_SOCKET_FAIL $MAX_SOCKET_FAIL "TCP connect problem" "repeated TCP connect problems, giving up"
1147411474
outln

0 commit comments

Comments
 (0)