www.digitalmars.com         C & C++   DMDScript  

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

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 puremagic.com
        ReportedBy: code dawg.eu



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: -------
Dec 06 2013