aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support/channel_arguments.h
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-11-11 18:34:28 -0800
committerGravatar Julien Boeuf <jboeuf@google.com>2015-11-11 18:34:28 -0800
commit112f4a303597eed9dc03e356bbea052ebbf9b7cd (patch)
treea2cb3ab9d47ddcc635e41919b3bc179188926a3e /include/grpc++/support/channel_arguments.h
parent0dd67a109af8e98276e672b6f367c3163ec4132f (diff)
Fixing the doc to warn of the dangers for overriding the target name when using SSL.
Diffstat (limited to 'include/grpc++/support/channel_arguments.h')
-rw-r--r--include/grpc++/support/channel_arguments.h3
1 files changed, 2 insertions, 1 deletions
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.