From 640600fd5509e24f7e19ff4643148b41d7bb4876 Mon Sep 17 00:00:00 2001 From: Viswanatha Swamy Date: Fri, 1 Jan 2021 20:38:48 +0530 Subject: [PATCH] Removed commented code --- .../aggregator/Services/GrpcCallerService.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/ApiGateways/Web.Bff.Shopping/aggregator/Services/GrpcCallerService.cs b/src/ApiGateways/Web.Bff.Shopping/aggregator/Services/GrpcCallerService.cs index 2039c7c4f..83ecd95f2 100644 --- a/src/ApiGateways/Web.Bff.Shopping/aggregator/Services/GrpcCallerService.cs +++ b/src/ApiGateways/Web.Bff.Shopping/aggregator/Services/GrpcCallerService.cs @@ -15,15 +15,6 @@ namespace Microsoft.eShopOnContainers.Web.Shopping.HttpAggregator.Services var channel = GrpcChannel.ForAddress(urlGrpc); - /* - using var httpClientHandler = new HttpClientHandler - { - ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => { return true; } - }; - - */ - - Log.Information("Creating grpc client base address urlGrpc ={@urlGrpc}, BaseAddress={@BaseAddress} ", urlGrpc, channel.Target); try @@ -49,13 +40,6 @@ namespace Microsoft.eShopOnContainers.Web.Shopping.HttpAggregator.Services AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true); AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2Support", true); - /* - using var httpClientHandler = new HttpClientHandler - { - ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => { return true; } - }; - */ - var channel = GrpcChannel.ForAddress(urlGrpc); Log.Debug("Creating grpc client base address {@httpClient.BaseAddress} ", channel.Target);