Bug 28920

Summary: curl DNS lookup occurs on multiple threads but storage is not threadsafe
Product: WebKit Reporter: Kevin Watters <kevinwatters>
Component: WebKit wxAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: kevino
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Use Mutexes and curl_share_setopt to protect libcurl shared data kevino: review+, kevino: commit-queue-

Kevin Watters
Reported 2009-09-02 13:51:31 PDT
libcurl expects the user of the library to provide synchronization of shared data via the curl_share_setopt function. I'm seeing sporadic crashes in libcurl DNS code in wxWebKit on Windows, where libcurl uses a background thread to do DNS lookups.
Attachments
Use Mutexes and curl_share_setopt to protect libcurl shared data (2.79 KB, patch)
2009-09-02 13:53 PDT, Kevin Watters
kevino: review+
kevino: commit-queue-
Kevin Watters
Comment 1 2009-09-02 13:53:07 PDT
Created attachment 38941 [details] Use Mutexes and curl_share_setopt to protect libcurl shared data
Kevin Ollivier
Comment 2 2009-09-02 14:08:52 PDT
Landed in r47993, thanks!
Note You need to log in before you can comment on or make changes to this bug.