Bug 14707 – std.net.curl using File.write instead of File.rawWrite
Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-06-17T10:15:00Z
Last change time
2015-06-23T17:07:16Z
Keywords
pull
Assigned to
nobody
Creator
ketmar
Comments
Comment #0 by ketmar — 2015-06-17T10:15:46Z
`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; };
Comment #1 by dlang-bugzilla — 2015-06-23T17:05:16Z
Marking this a duplicate of the newer bug because I posted the PR there.
*** This issue has been marked as a duplicate of issue 14712 ***
Comment #2 by dlang-bugzilla — 2015-06-23T17:07:16Z
Aaand also because it's a better bug report.
- It is not obvious what the ultimate effect of this bug is.
- It is not obvious that this is a regression.
- It is not obvious how important this bug is. Did something break in a bad way, or is it just a matter of code consistence/style?