Perhaps I am doing something wrong, but I am calling
cURLpp::Easy::getCurlHandle().setException(NULL) after I catch an
exception from cURLpp::Easy::perform() to delete and reset the
exception before handling the caught exception.
--------------------------------------------------------------------------------
cURLpp::Easy request;
try {
try {
request.perform();
}
catch (...) {
request.getCurlHandle().setException(NULL);
throw;
}
}
catch (const cURLpp::RuntimeError &) {
// handle exception
}
--------------------------------------------------------------------------------
Is there a reason why the handle does not do this for me?
--
You received this message because you are subscribed to the Google Groups
"curlpp" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at http://groups.google.com/group/curlpp?hl=.