Skip to content

Commit

Permalink
80-test_cmp_http.t: make -no_proxy cover the IPv6 case '::1'
Browse files Browse the repository at this point in the history
  • Loading branch information
DDvO committed Jul 26, 2024
1 parent 14e4660 commit 12d9c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/recipes/80-test_cmp_http.t
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ sub load_tests {
$noproxy = $1;
} elsif ($server_host eq "127.0.0.1") {
# do connections to localhost (e.g., mock server) without proxy
$line =~ s{-section,,}{-section,,-no_proxy,127.0.0.1,} ;
$line =~ s{-section,,}{-section,,-no_proxy,127.0.0.1 [::1],} ;
}
if ($line =~ m/,\s*-proxy\s*,/) {
next LOOP if $no_proxy && ($noproxy =~ $server_host);
Expand Down

0 comments on commit 12d9c76

Please sign in to comment.