consume dotnet core 3.0 (#127)

* consume dotnet core 3.0

* update linux dependency doc.
This commit is contained in:
Tingluo Huang
2019-10-24 16:52:29 -04:00
committed by Thomas Boop
parent 83be145bfd
commit afd233b735
17 changed files with 85 additions and 150 deletions

View File

@@ -27,13 +27,6 @@ namespace GitHub.Runner.Sdk
VssClientHttpRequestSettings.Default.UserAgent = headerValues;
VssClientHttpRequestSettings.Default.ClientCertificateManager = clientCert;
#if OS_LINUX || OS_OSX
// The .NET Core 2.1 runtime switched its HTTP default from HTTP 1.1 to HTTP 2.
// This causes problems with some versions of the Curl handler.
// See GitHub issue https://github.com/dotnet/corefx/issues/32376
VssClientHttpRequestSettings.Default.UseHttp11 = true;
#endif
VssHttpMessageHandler.DefaultWebProxy = proxy;
}