Curl and redirects

Chris christian_stengel at yahoo.de
Wed Dec 19 00:46:05 PST 2012


Dear Vladimir,

thank you very much for your answer - and sorry for the delay - 
but I had problems compiling dmd myself on osx.

I checked out dmd, runtime, phobos and tools and compiled the 
stuff. Unfortunately I am still getting the exception:

-- snip --
std.net.curl.CurlException at std/net/curl.d(3449): Send failed 
since rewinding of the data stream failed on handle 7FAA09819400
----------------
5   accept                              0x0000000101865cf6 void 
std.net.curl.Curl._check(int) + 130
6   accept                              0x0000000101865fb4 int 
std.net.curl.Curl.perform(bool) + 56
7   accept                              0x00000001018646bc int 
std.net.curl.HTTP._perform(bool) + 600
8   accept                              0x000000010186445e void 
std.net.curl.HTTP.perform() + 18
9   accept                              0x0000000101803c40 void 
http_client.HTTPClient.post1(immutable(char)[], const(void)[]) + 
424
10  accept                              0x00000001018031bc void 
http_client.HTTPClient.post() + 464
11  accept                              0x00000001017bf1bb _Dmain 
+ 239
12  accept                              0x0000000101819ded extern 
(C) int rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).void runMain() + 33
13  accept                              0x000000010181994d extern 
(C) int rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).void tryExec(scope void delegate()) + 45
14  accept                              0x0000000101819e34 extern 
(C) int rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).void runAll() + 56
15  accept                              0x000000010181994d extern 
(C) int rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).void tryExec(scope void delegate()) + 45
16  accept                              0x0000000101819905 
_d_run_main + 465
17  accept                              0x000000010181972c main + 
20
18  libdyld.dylib                       0x00007fff93cec7e1 start 
+ 0
19  ???                                 0x0000000000000001 0x0 + 1

-- snip --

Maybe it's an issue with MacOSX?

My settings:
- DMD64 D Compiler v2.061
- DFLAGS=-I/usr/local/include/d2 -L-L/usr/local/lib.

Thanks,

Chris



On Monday, 17 December 2012 at 18:57:25 UTC, Vladimir Panteleev 
wrote:
> On Monday, 17 December 2012 at 11:24:41 UTC, Chris wrote:
>> std.net.curl.CurlException at std/net/curl.d(3348): Send failed
>> since rewinding of the data stream failed on handle 
>> 7FCABA819400
>
> I believe I've fixed this problem in this pull request:
> https://github.com/D-Programming-Language/phobos/pull/860
>
> Try using Phobos from git.


More information about the Digitalmars-d mailing list