www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14793] New: net.curl.download https broken - windows

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

          Issue ID: 14793
           Summary: net.curl.download https broken - windows
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: kdansky gmail.com

curl does not work properly with https on windows:


http = HTTP();
http.handle.set(etc.c.curl.CurlOption.ssl_verifypeer, 0); // do not verify ssl

string content = std.net.curl.get("https://.....", http).idup;  // works
std.net.curl.download("https:// .... ", localpath, http);       //crashes


Only download is affected, .get works fine (with deactivated ssl). Probably
windows-only.

--
Jul 11 2015