curl/curl-ipv6tests.patch

29 lines
624 B
Diff

---
tests/data/test241 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- tests/data/test241.orig
+++ tests/data/test241
@@ -30,10 +30,10 @@ ipv6
http-ipv6
</server>
<name>
-HTTP-IPv6 GET (using ip6-localhost)
+HTTP-IPv6 GET (using ip6-localhost aka [::1])
</name>
<command>
--g "http://ip6-localhost:%HTTP6PORT/241"
+-g "http://[::1]:%HTTP6PORT/241"
</command>
<precheck>
./server/resolve --ipv6 ip6-localhost
@@ -48,7 +48,7 @@ HTTP-IPv6 GET (using ip6-localhost)
</strip>
<protocol>
GET /241 HTTP/1.1
-Host: ip6-localhost:%HTTP6PORT
+Host: [::1]:%HTTP6PORT
Accept: */*
</protocol>