diff options
author | Eric Wong <e@80x24.org> | 2021-02-07 23:05:13 -1000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-08 22:07:43 +0000 |
commit | 860169adcd29341142b7c4a369c09b4ac492bd1e (patch) | |
tree | f08dcf8bd04efaeb0904a6cec40665c107482cac /xt/httpd-async-stream.t | |
parent | fb6aa4da304125a3fb7932e1335be85ff260e031 (diff) | |
download | public-inbox-860169adcd29341142b7c4a369c09b4ac492bd1e.tar.gz |
IPv4 gets plenty of real-world coverage, and apparently there's Debian buildd hosts which lack IPv4(*). So ensure everything can work on IPv6 and not cause problems for odd setups. (*) https://bugs.debian.org/979432
Diffstat (limited to 'xt/httpd-async-stream.t')
-rw-r--r-- | xt/httpd-async-stream.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/httpd-async-stream.t b/xt/httpd-async-stream.t index f6715c58..c7039f3e 100644 --- a/xt/httpd-async-stream.t +++ b/xt/httpd-async-stream.t @@ -41,7 +41,7 @@ address = test\@example.com # not using multiple workers, here, since we want to increase # the chance of tripping concurrency bugs within PublicInbox/HTTP*.pm my $cmd = [ '-httpd', "--stdout=$out", "--stderr=$err", '-W0' ]; - my $host_port = $http->sockhost.':'.$http->sockport; + my $host_port = tcp_host_port($http); push @$cmd, "-lhttp://$host_port"; my $url = "$host_port/test/$endpoint"; print STDERR "# CMD ". join(' ', @$cmd). "\n"; |