diff options
author | Alexander Polcyn <apolcyn@google.com> | 2018-05-04 17:18:27 -0700 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2018-05-08 11:49:55 -0700 |
commit | ac8b72f75b2fbd215dbffa286b7b893b9fb061e7 (patch) | |
tree | 0c25bee4a70a93ab2704f015dd6ed88e3511d6d3 /include/grpcpp/support | |
parent | 2d894a8c3b6bd0a236f14c5630faced4caba0a55 (diff) |
Add a test that tcp server posix consumes socket mutators
Diffstat (limited to 'include/grpcpp/support')
-rw-r--r-- | include/grpcpp/support/channel_arguments.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/grpcpp/support/channel_arguments.h b/include/grpcpp/support/channel_arguments.h index 1eead4e1a4..217929d4ac 100644 --- a/include/grpcpp/support/channel_arguments.h +++ b/include/grpcpp/support/channel_arguments.h @@ -70,7 +70,13 @@ class ChannelArguments { /// the resolver. void SetGrpclbFallbackTimeout(int fallback_timeout); - /// Set the socket mutator for the channel. + /// For client channel's, the socket mutator operates on + /// "channel" sockets. For server's, the socket mutator operates + /// only on "listen" sockets. + /// TODO(apolcyn): allow socket mutators to also operate + /// on server "channel" sockets, and adjust the socket mutator + /// object to be more speficic about which type of socket + /// it should operate on. void SetSocketMutator(grpc_socket_mutator* mutator); /// Set the string to prepend to the user agent. |