Skip to content

Conversation

@shubhanshu02
Copy link
Contributor

Description

Fix #64450

Wrap the SendPingAsync function with LogExceptions in Http2Connection.cs
to avoid any exception here being caught as an UnobservedTaskException.

Wrap the SendPingAsync function with LogExceptions in Http2Connection.cs
to avoid any exception here being caught as an UnobservedTaskException.

Fix #64450

Signed-off-by: Shubhanshu Saxena <[email protected]>
@ghost ghost added area-System.Net.Http community-contribution Indicates that the PR has been added by a community member labels Jan 29, 2022
@ghost
Copy link

ghost commented Jan 29, 2022

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

Fix #64450

Wrap the SendPingAsync function with LogExceptions in Http2Connection.cs
to avoid any exception here being caught as an UnobservedTaskException.

Author: shubhanshu02
Assignees: -
Labels:

area-System.Net.Http

Milestone: -

Copy link
Member

@MihaZupan MihaZupan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MihaZupan MihaZupan merged commit ce15dc7 into dotnet:main Jan 30, 2022
@shubhanshu02 shubhanshu02 deleted the http2 branch January 30, 2022 06:53
@ghost ghost locked as resolved and limited conversation to collaborators Mar 1, 2022
@karelz karelz added this to the 7.0.0 milestone Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Http community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Http2's SendPingAsync may leak UnobservedTaskExceptions

4 participants