Results from running on 32-bit Ubuntu 12.10 and 64-bit Ubuntu 12.04.
application/x-gzip
1470
Comments
Comment #0 by david — 2012-11-21T19:50:53Z
Created attachment 1163
Results from running on 32-bit Ubuntu 12.10 and 64-bit Ubuntu 12.04.
The byLineAsync and byChunkAsync functions do not work on Linux (both x86 and
x86_64) using DMD 2.0.60. The non-async versions work fine.
import std.stdio, std.net.curl;
void main() {
string url = "http://www.dlang.org";
auto chunkRange = byChunk(url, 10);
writeln("byChunk: ", chunkRange.front);
auto asyncChunkRange = byChunkAsync(url, 10);
writeln("byChunkAsync: ", asyncChunkRange.front);
}
On x86 the async call throws an exception:
std.net.curl.CurlException@std/net/curl.d(3348): An unknown option was passed
in
to libcurl on handle 8B25400
On x86_64 the async call throws that exception and an OwnerTerminated
exception.
Logs for both are attached. To get around the problem with link ordering and
curl on linux both were compiled with "dmd chunktest.d -L-lphobos2 -L-lcurl".
Comment #1 by david — 2014-03-04T20:03:43Z
(In reply to comment #0)
Still confirmed to be broken on DMD 2.065.
Comment #2 by github-bugzilla — 2014-04-22T17:47:34Z