On Tue, Nov 17, 2009 at 1:26 AM, Timothy003 <[email protected]> wrote: > 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?
Absolutely no reason. Thanks for the bug report. Fixed on head. > > -- > > 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=. > > > -- 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=.
