https://issues.dlang.org/show_bug.cgi?id=15066

          Issue ID: 15066
           Summary: std.net.curl.get should support IPv6 addresses
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nob...@puremagic.com
          Reporter: l...@luismarques.eu

This works on OS X but not on Windows:

void main()
{
    import std.net.curl;

    // neither work (IPv6 addresses, no DNS needed):
    get("http://[::1]:8080/";);
    get("http://[2a00:1450:4004:801::200e]/";);
}

Error: "std.net.curl.CurlException@std\net\curl.d(3705): Couldn't resolve host
name on handle 1D80048"

--

Reply via email to