[Issue 11695] New: std.net.curl https not thread-safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 6 01:27:18 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11695

           Summary: std.net.curl https not thread-safe
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at dawg.eu


--- Comment #0 from Martin Nowak <code at dawg.eu> 2013-12-06 01:27:16 PST ---
When using std.net.curl over SSL the underlying OpenSSL implementation isn't
thread safe unless some mutex callbacks are set.
This leads to rece conditions hen parallely downloading multiple files.
See curl docs for a thread-safe example.
http://curl.haxx.se/libcurl/c/opensslthreadlock.html

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list