digitalmars.D.learn - Curl HTTP segfault
Hello everyone, I have had this problem for a little while but I don't understand if I'm am not using correctly the HTTP struct, or if it is a library bug. Hear is my code: http://pastebin.com/Pgx7bqum I get a segfault on exit in the destructor calling std.net.curl.Curl.shutdown() Workarounds that I found are : - call http.shutdown() before the end of main - make http static
Feb 24 2016
Oops, no, looks like you can't put HTTP in a class, because it works with GC and is ref counted.
Feb 24 2016