Skip to content

Commit bc8fd3d

Browse files
mridangclaude
andcommitted
fix: force IPv4 outgoing connections in Squid proxy to fix proxy tests
Squid 5.x resolves host.docker.internal to an IPv6 address on Docker Desktop, but IPv6 connectivity to host-mapped ports is unreachable. The obsolete dns_v4_first directive is ignored in Squid 5+, so use tcp_outgoing_address 0.0.0.0 to force IPv4 outgoing connections. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5c7014a commit bc8fd3d

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http_port 3128
22
acl all src all
33
http_access allow all
4+
tcp_outgoing_address 0.0.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http_port 3128
22
acl all src all
33
http_access allow all
4+
tcp_outgoing_address 0.0.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http_port 3128
22
acl all src all
33
http_access allow all
4+
tcp_outgoing_address 0.0.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http_port 3128
22
acl all src all
33
http_access allow all
4+
tcp_outgoing_address 0.0.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http_port 3128
22
acl all src all
33
http_access allow all
4+
tcp_outgoing_address 0.0.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http_port 3128
22
acl all src all
33
http_access allow all
4+
tcp_outgoing_address 0.0.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
http_port 3128
22
acl all src all
33
http_access allow all
4+
tcp_outgoing_address 0.0.0.0

0 commit comments

Comments
 (0)