Several additional HttpStress improvements (dotnet/corefx#39388)
authorStephen Toub <stoub@microsoft.com>
Thu, 11 Jul 2019 17:02:38 +0000 (13:02 -0400)
committerAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Thu, 11 Jul 2019 17:02:38 +0000 (10:02 -0700)
commitaaf1ef73a438e0b9a21a07d281e6b2f25060fe41
tree4b2647e8bc5a9a568ffac136034c31f0f7035f02
parentddff9e4d9ef157ee7d41de18fa5e5e386b1e7143
Several additional HttpStress improvements (dotnet/corefx#39388)

- Enable HTTP/1.1 and HTTP/2 to be used concurrently
- Fix duplex tests now that only custom content may be duplex
- Add option to set pooled connection lifetime to stress connection management
- Add client operation for reading portion of response and throwing the rest away

Commit migrated from https://github.com/dotnet/corefx/commit/88ab17433f45c37e4e28e2bb6dce3c74aea81c0d
src/libraries/System.Net.Http/tests/StressTests/HttpStress/Program.cs