It appears from an inspection of the libcurl source (curl-7_29_0-415-gf8da49e) that if a CURL * is using shared cookie data, curl_easy_setopt(curl, CURLOPT_COOKIELIST, ...) will modify the shared cookies without taking the share lock.
I extended test 506; patch attached. Apologies for the unreadability of the test data diff; the sequence number changes rippled through the entire test.
Thanks for the report. Any chance you can write up a test recipe for this, possibly by extending test 506 or by writing something new based on that?
I extended test 506; patch attached. Apologies for the unreadability of the test data diff; the sequence number changes rippled through the entire test.
Thanks a lot for your report and your patch. It took me a long time but now I've pushed a fix for this as commit 7ac3e9f1ba7c9.
Case closed!