https://issues.dlang.org/show_bug.cgi?id=14707
Issue ID: 14707
Summary: std.net.curl using File.write instead of File.rawWrite
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
`download` function in std.net.curl is using
conn.onReceive = (ubyte[] data) { f.write(data); return data.length; };
i believe that it should be:
conn.onReceive = (ubyte[] data) { f.rawWrite(data); return data.length; };
--