Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XrdTpc] Add curl handle cleanup on redirections or errors #1023

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

jthiltges
Copy link
Contributor

We were seeing growing memory usage from curl_easy_init() calls in ProcessPullReq() and ProcessPushReq() on a local redirector.

This patch adds curl_easy_cleanup() calls to a few cases where it was needed, especially before RedirectTransfer().

@bbockelm
Copy link
Contributor

@ffurano - please review.

@ffurano ffurano merged commit 3b2db21 into xrootd:master Jul 12, 2019
@jthiltges jthiltges deleted the tpc-curl-cleanup branch April 22, 2021 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants