Andrey

Results 21 comments of Andrey

> In your vckpg install command line, have you added this : pthread:x64-windows-static ? Windows version of the **pthread** library has no **pthread_atfork** function support. **pthread.h** has no definition of...

> I don't know, but, I've compiled libtorrent+qbittorent few weeks ago and it was working, the only stuff I needed to add was the pthread:x64-windows-static stuff. Thanks for your tip,...

I seem to be running out of patience for building this ill-fated library. I created a separate virtual machine with the latest installation packages (Win10x64, VC2019, cmake 3.20, pthread 3.0.0,...

> > Really, Windows pthread implementation does not contain pthread_atfork support. > > probably because windows doesn't really spawn processes using a fork-like mechanism. If it's not absolutely required, I...

For this test I used 8.4.0 The test code itself is _TestCurlLeakMem.cpp module.

> If you cannot make a smaller and less Windows-centric recipe (I don't use Windows), then perhaps you can instead give us much more details about this claimed leak. What...

> You do not seems to call `CInet::curl_global_cleanup()` anywhere and `LoadDll()` loads multiple libcurls. - libcurl.dll is loaded once at the start of the program. - In Windows, you can...

> > It would be good if you took a quick look at the text of the module to see if there is an error on my part. > >...

~~~c static size_t WriteCallback( void *contents, size_t size, size_t nmemb, void *userp ) { WriteCallback_param *pParam = (WriteCallback_param*)userp; if ( pParam == NULL ) return 0; pParam->m_read += size *...

**Dear Windows users, could you test this program and confirm or deny the memory leak?**