Removed commented code
This commit is contained in:
parent
3b4256fced
commit
640600fd55
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user