change exceptions from socks proxy failure to be HttpRequestExceptions (#53516)
authorGeoff Kizer <geoffrek@microsoft.com>
Tue, 1 Jun 2021 14:00:25 +0000 (07:00 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Jun 2021 14:00:25 +0000 (10:00 -0400)
commit897072a5e0d9198d0f64c2cf15fa5ff39c0766df
tree019f96ffef6611b00a9eb66b6288758320aa00f0
parent85fde0536b64c4901056b894f5184103f39cac63
change exceptions from socks proxy failure to be HttpRequestExceptions (#53516)

Co-authored-by: Geoffrey Kizer <geoffrek@windows.microsoft.com>
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
src/libraries/System.Net.Http/tests/FunctionalTests/SocksProxyTest.cs