respect SETTINGS_INITIAL_WINDOW_SIZE and rework SendAsync code structure
authorGeoff Kizer <geoffrek>
Sat, 15 Dec 2018 20:49:34 +0000 (12:49 -0800)
committerGeoff Kizer <geoffrek>
Mon, 17 Dec 2018 21:42:31 +0000 (13:42 -0800)
commit3b7e8854b495b3ce1751d8c7c33c8525423714a6
treee4e0752630f2f3f7984586aeb55ddbee046cb8c8
parent2d8dabc6b0ca99ec9afe86ac29490fd4db180793
respect SETTINGS_INITIAL_WINDOW_SIZE and rework SendAsync code structure

Commit migrated from https://github.com/dotnet/corefx/commit/04fb2722d89a65ce92d8caa90e1e39a0ab4c3d5f
src/libraries/Common/tests/System/Net/Http/Http2LoopbackServer.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http2Connection.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http2Stream.cs
src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.Http2.cs