aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-17 22:02:06 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-17 22:02:06 -0800
commita94beff94c26c8940c6c224943c53ffda73025bb (patch)
tree8914bd4f6c279a578415e004fe40e27077e0a992
parentab294db7441bd112a7dba2aa1e9ceb33906a4066 (diff)
Add TODO
-rw-r--r--src/core/surface/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c
index 4ae6f5d955..9b113610d5 100644
--- a/src/core/surface/server.c
+++ b/src/core/surface/server.c
@@ -330,6 +330,7 @@ static void start_new_rpc(grpc_call_element *elem) {
gpr_mu_lock(&server->mu);
if (chand->registered_methods && calld->path && calld->host) {
+ /* TODO(ctiller): unify these two searches */
/* check for an exact match with host */
hash = GRPC_MDSTR_KV_HASH(calld->host->hash, calld->path->hash);
for (i = 0; i < chand->registered_method_max_probes; i++) {