Description
Describe the bug
Ever since 8.0.3 we've been seeing UnobservedTaskException: System.Net.Http.HttpIOException: An HTTP/2 connection could not be established because the server did not complete the HTTP/2 handshake. (InvalidResponse)
We have not seen this before 8.0.3 with our current environment.
We are curious whether there has been a change in the framework with how the handshake handles an unexpected connection termination with the host? These errors coincide with service disruption on the host.
Repro
While I can't provide a working sample because I think timing and load plays a key factor, our belief is that during client -> server connection negotiation the webserver is shutdown.
Exceptions (if any)
UnobservedTaskException: System.Net.Http.HttpIOException: An HTTP/2 connection could not be established because the server did not complete the HTTP/2 handshake. (InvalidResponse)
Further technical details
We have observed this on .net 8.0.3, 8.04, and 8.0.5, we do not see this on 8.0.2 or 7.0