curl: catching exception on connect.

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 1 10:25:08 PST 2014


Big thanks Ali!

Only the small last question:

why:
	string link = "dlang.org";
	writeln(connect(link));

cause crash:

std.net.curl.CurlException at C:\DMD\dmd2\windows\bin\..\..\src\phobos\std\net\curl
.d(779): HTTP request returned status code 400
----------------
0x00404263
0x0040226A
0x00402090
0x00402030
0x00421E6C
0x00421E3F
0x00421D58
0x0041A177
0x7641336A in BaseThreadInitThunk
0x77069F72 in RtlInitializeExceptionChain
0x77069F45 in RtlInitializeExceptionChain

I remember that there was some issue in docs (if I not mistaken) 
but I can't google about it.


More information about the Digitalmars-d-learn mailing list