Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aiohttp): Use a contextvar to track the request span for streamin…
…g responses(#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.
- Loading branch information