Browse Source

tests: Prevent stunnel4 from binding on IPv6

Hardcoding the IPv4 address 127.0.0.1 stops stunnel4 from also binding
on IPv6 as well which not only binds on another port but confuses our
crude port extraction by splitting on ':' with ::1.

Gbp-Dch: Ignore
tags/debian/1.7.0_alpha1
David Kalnischkies 3 years ago
parent
commit
c94988e75e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/integration/framework

+ 1
- 1
test/integration/framework View File

@@ -1382,7 +1382,7 @@ cert = ${TMPWORKINGDIRECTORY}/rootdir/etc/webserver.pem
output = /dev/null

[https]
accept = 0
accept = 127.0.0.1:0
connect = $APTHTTPPORT
" > "${TMPWORKINGDIRECTORY}/stunnel.conf"
$stunnel4 "${TMPWORKINGDIRECTORY}/stunnel.conf"


Loading…
Cancel
Save