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

fix(aiohttp): Remove strong reference to response object on callback (#8108) #11518

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 24, 2024

  1. fix(aiohttp): Use a contextvar to track the request span for streamin…

    …g responses(DataDog#8108)
    
    Without this change, the request and response objects are not freed from memory until the asyncio Task is freed, which can create a memory leak. This change leverages a contextvar to accomplish the same result as the previous version, while ensuring any memory is freed once the current async context is exited.
    Sean Stewart committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    446c43b View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Configuration menu
    Copy the full SHA
    54dde22 View commit details
    Browse the repository at this point in the history