Skip to content

Drain Reactor Netty Response Body on Close#23855

Merged
alzimmermsft merged 7 commits into
Azure:mainfrom
alzimmermsft:AzNetty_DrainResponseBodyOnClose
Sep 7, 2021
Merged

Drain Reactor Netty Response Body on Close#23855
alzimmermsft merged 7 commits into
Azure:mainfrom
alzimmermsft:AzNetty_DrainResponseBodyOnClose

Conversation

@alzimmermsft

Copy link
Copy Markdown
Member

Fixes #10467

This PR resolves an issue when HttpResponse::close was called on NettyAsyncHttpResponse without consuming the response where it would potentially leak the ByteBufs associated with the response.

@alzimmermsft alzimmermsft added Client This issue points to a problem in the data-plane of the library. Azure.Core azure-core HttpClient labels Aug 31, 2021
@alzimmermsft alzimmermsft self-assigned this Aug 31, 2021
@alzimmermsft alzimmermsft merged commit 11b223e into Azure:main Sep 7, 2021
@alzimmermsft alzimmermsft deleted the AzNetty_DrainResponseBodyOnClose branch September 7, 2021 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core azure-core Client This issue points to a problem in the data-plane of the library. HttpClient

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Revisit ReactorNettyHttpResponse::close()

4 participants