Avoid syncobj object allocation in Http2Connection
authorStephen Toub <stoub@microsoft.com>
Thu, 14 Feb 2019 02:55:46 +0000 (21:55 -0500)
committerStephen Toub <stoub@microsoft.com>
Fri, 15 Feb 2019 18:05:28 +0000 (13:05 -0500)
commit65270f3717054c92d38f2e790b94b1be3768b83f
tree34b6ee19855e6107b2e43b0978f32e860e208393
parent87289427705809f9e767aa8ff551b83741013e33
Avoid syncobj object allocation in Http2Connection

Just use one of the other readonly objects.

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