diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-01 14:26:11 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-01 14:26:11 -0700 |
commit | f037011b1f6d89705a631fd08524f0a0b5611c65 (patch) | |
tree | 2efd2ff4e0fd0618a9b12a60a53381f9c642f949 /src | |
parent | 50bc609f6e4395ff87ff6d7f5223f625e4360831 (diff) |
Expand comment
Diffstat (limited to 'src')
-rw-r--r-- | src/core/client_config/subchannel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c index 93c703e7c4..6cf9062ab0 100644 --- a/src/core/client_config/subchannel.c +++ b/src/core/client_config/subchannel.c @@ -79,7 +79,10 @@ struct grpc_subchannel { size_t addr_len; /** metadata context */ grpc_mdctx *mdctx; - /** master channel */ + /** master channel - the grpc_channel instance that ultimately owns + this channel_data via its channel stack. + We occasionally use this to bump the refcount on the master channel + to keep ourselves alive through an asynchronous operation. */ grpc_channel *master; /** have we seen a disconnection? */ int disconnected; |