Skip to content

Commit

Permalink
fix: fixed double http handler (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem authored Jun 26, 2023
2 parents dc68619 + a77101c commit 8e8057a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/csharp/ArmoniK.Api.Client/ArmoniK.Api.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Nullable>enable</Nullable>
<AssemblyOriginatorKeyFile>../kp.snk</AssemblyOriginatorKeyFile>
<Optimize>true</Optimize>
<PackageVersion>3.8.2</PackageVersion>
<PackageVersion>3.8.2</PackageVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
Expand All @@ -30,7 +30,7 @@
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.54.0" />
<PackageReference Include="Grpc.Tools" Version="2.55.1">
<PackageReference Include="Grpc.Tools" Version="2.56.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down Expand Up @@ -65,7 +65,7 @@
<Protobuf Include="..\..\..\Protos\V1\events_service.proto" GrpcServices="Client">
<Link>gRPC\Protos\events_service.proto</Link>
</Protobuf>
<Protobuf Include="..\..\..\Protos\V1\versions_service.proto" GrpcServices="Client">
<Protobuf Include="..\..\..\Protos\V1\versions_service.proto" GrpcServices="Client">
<Link>gRPC\Protos\versions_service.proto</Link>
</Protobuf>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ public static ChannelBase CreateChannel(GrpcClient optionsGrpcClient,
var channelOptions = new GrpcChannelOptions
{
Credentials = credentials,
HttpHandler = httpHandler,
HttpClient = httpClient,
DisposeHttpClient = true,
ServiceConfig = new ServiceConfig
Expand Down
4 changes: 2 additions & 2 deletions packages/csharp/ArmoniK.Api.Common/ArmoniK.Api.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageReference Include="ArmoniK.Utils" Version="0.2.0" />
<PackageReference Include="Google.Protobuf" Version="3.23.3" />
<PackageReference Include="Grpc.Net.Client" Version="2.54.0" />
<PackageReference Include="Grpc.Tools" Version="2.55.1">
<PackageReference Include="Grpc.Tools" Version="2.56.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down Expand Up @@ -53,7 +53,7 @@
<GrpcServices>Message</GrpcServices>
<ProtoCompile>True</ProtoCompile>
</Protobuf>
<Protobuf Include="..\..\..\Protos\V1\auth_common.proto" Link="auth_common.proto">
<Protobuf Include="..\..\..\Protos\V1\auth_common.proto" Link="auth_common.proto">
<GrpcServices>Message</GrpcServices>
<ProtoCompile>True</ProtoCompile>
</Protobuf>
Expand Down
2 changes: 1 addition & 1 deletion packages/csharp/ArmoniK.Api.Core/ArmoniK.Api.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<ItemGroup>
<PackageReference Include="Grpc.AspNetCore.Server.Reflection" Version="2.54.0" />
<PackageReference Include="Grpc.Tools" Version="2.55.1">
<PackageReference Include="Grpc.Tools" Version="2.56.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<PackageReference Include="Serilog.Extensions.Hosting" Version="5.0.1" />
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
<PackageReference Include="Serilog.AspNetCore" Version="6.1.0" />
<PackageReference Include="Grpc.Tools" Version="2.55.1">
<PackageReference Include="Grpc.Tools" Version="2.56.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 8e8057a

Please sign in to comment.