On Tue, 15 Jul 2014, Yousuke Kimoto wrote:
Your patch is right, Curl_share_lock() and Curl_share_unlock() are not necessary for Curl_flush_cookies().
Thanks, I've merged this patch now and I also push a separate update of test 506 that verifies this fix and it now includes an extra check for double-locks and double-unlocks.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html