Browse Source

fixes #2325: Remove temporary workaround for setting System.Net.Http.UseSocketsHttpHandler switch to false

rel-1.1
İsmail ÇAGDAŞ 7 years ago
parent
commit
dca94d1a12
  1. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/AbpCliCoreModule.cs

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/AbpCliCoreModule.cs

@ -19,10 +19,6 @@ namespace Volo.Abp.Cli
{
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
// TODO: workaround until subsequent issues of https://github.com/dotnet/corefx/issues/30166 are resolved
// a permanent fix will probably be published with the release of .net core 3.0: https://github.com/dotnet/corefx/issues/36553
AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", false);
Configure<AbpCliOptions>(options =>
{
options.Commands["help"] = typeof(HelpCommand);

Loading…
Cancel
Save