[HTTP/3] Fix #53632 by using original host when omitted (#53648)
authorTimTim <i@timtim.hk>
Fri, 11 Jun 2021 14:08:57 +0000 (22:08 +0800)
committerGitHub <noreply@github.com>
Fri, 11 Jun 2021 14:08:57 +0000 (16:08 +0200)
commit75ede83214700ba49b70c0ac746c3541ef219a91
treec805467ddaddd064c0912538b1987d8a7e4ba754
parentef9e276c34fa8acf7dce30d5db35ab6afe398db6
[HTTP/3] Fix #53632 by using original host when omitted (#53648)

* Fix #53632

* Annotate non-nullable _originAuthority

* Test inheriting original host for HTTP/3 Alt-Svc
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.AltSvc.cs