From 112f4a303597eed9dc03e356bbea052ebbf9b7cd Mon Sep 17 00:00:00 2001 From: Julien Boeuf Date: Wed, 11 Nov 2015 18:34:28 -0800 Subject: Fixing the doc to warn of the dangers for overriding the target name when using SSL. --- include/grpc++/support/channel_arguments.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/grpc++/support') diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h index 9957712a96..4da76a83ed 100644 --- a/include/grpc++/support/channel_arguments.h +++ b/include/grpc++/support/channel_arguments.h @@ -70,7 +70,8 @@ class ChannelArguments { void SetChannelArgs(grpc_channel_args* channel_args) const; // gRPC specific channel argument setters - /// Set target name override for SSL host name checking. + /// Set target name override for SSL host name checking. This option is for + /// testing only and should never be used in production. void SetSslTargetNameOverride(const grpc::string& name); // TODO(yangg) add flow control options /// Set the compression algorithm for the channel. -- cgit v1.2.3