Skip to content

Commit 6cae7b8

Browse files
committed
well that type is just embarrassing
1 parent b102eba commit 6cae7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protobuf-net.Grpc/Client/GrpcClientFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static class GrpcClientFactory
1717
public static bool AllowUnencryptedHttp2
1818
{
1919
get => AppContext.TryGetSwitch(Switch_AllowUnencryptedHttp2, out var enabled) && enabled;
20-
set => AppContext.SetSwitch(Switch_AllowUnencryptedHttp2, true);
20+
set => AppContext.SetSwitch(Switch_AllowUnencryptedHttp2, value);
2121
}
2222

2323
/// <summary>

0 commit comments

Comments
 (0)