curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem/Crash with libCurl Daily Snapshot and Option CURLSHOPT_SHARE and Parameter CURL_LOCK_DATA_CONNECT

From: Gisle Vanem via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 28 Nov 2017 17:46:29 +0100

Dawson, Patrick wrote:

> static void ShareLockFunc( CURL* pHandle, curl_lock_data Data, curl_lock_access Access, void* pUseptr )
> {
> ...
> }
>
> static void ShareUnlockFunc( CURL* pHandle, curl_lock_data Data, void* pUseptr )
> {
>...
> }

What are these used for?
I assume if you compile with MSVC, that you've added '-EHsc'
to your CFLAGS (otherwise the 'throw' isn't safe).

And BTW, your example works fine for me. Can you show some
callstack? E.g. "cdb -c g share-lock-example.exe".

-- 
--gv
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-28