C++ – Curl requests works in Debug mode but not in Release
This is my code:
How to write into curl’s ERRORBUFFER inside CURLOPT_READFUNCTION function?
I use curl in a C++ project to upload a file to a service. Since we use our internal company framework classes for reading files we define a READFUNCTION for that. The internal function can throw an exception so I wanted to catch that.