Converted back to draft, as I suspect it's not a complete or correct fix: `ProcessPushReq()` and `ProcessPullReq()` return `RunCurl*()` functions which call `curl_easy_cleanup()`. But `TPC::State::~State()` will then still be called _after_ the `curl_easy_cleanup()`? If modifying the curl handle in `~State()` is really necessary, maybe better to store the curl handle in a unique_ptr and do the `curl_easy_cleanup()` there? @bbockelm -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1449#issuecomment-830189040 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1