diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-09 16:07:34 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-09 16:07:34 -0700 |
commit | 0aa6b7c63775f4303f524c65aedccc358814b441 (patch) | |
tree | 363ca6e9183e3324394499ee16e35d85e4d2ce1d /src/core/surface | |
parent | b35fe2a72f5df5ccef472586a3905668bb23bcd3 (diff) | |
parent | c6d6d9056d809c560688f62bf19a02463b7487fd (diff) |
Merge branch 'hosts-need-names-too' into simpler-cq
Diffstat (limited to 'src/core/surface')
-rw-r--r-- | src/core/surface/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c index 32e5058b4d..ba008d4648 100644 --- a/src/core/surface/server.c +++ b/src/core/surface/server.c @@ -422,7 +422,7 @@ static void start_new_rpc(grpc_call_element *elem) { /* 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++) { + for (i = 0; i <= chand->registered_method_max_probes; i++) { rm = &chand->registered_methods[(hash + i) % chand->registered_method_slots]; if (!rm) break; |