Fix a race in buffer usage of Http2Connection.ProcessPingFrame: incoming buffer might...
authorCory Nelson <conelso@microsoft.com>
Fri, 5 Jul 2019 23:03:00 +0000 (16:03 -0700)
committerCory Nelson <conelso@microsoft.com>
Fri, 5 Jul 2019 23:04:38 +0000 (16:04 -0700)
commit2a5cc8cdfcc8b27de327297c3f8bf7f58da7716f
treebc82b9e24de3bdb9ba2a8c40583da831a8a051ab
parent1d8bb477443a1fe2d9eec53f4cc8c70be836e576
Fix a race in buffer usage of Http2Connection.ProcessPingFrame: incoming buffer might be reused before we've sent it. Resolve dotnet/corefx#38788.

Commit migrated from https://github.com/dotnet/corefx/commit/1a2c478ee975a1214afc7f23c75e3e99c292c521
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http2Connection.cs