Merge branch 'hosts-need-names-too' into simpler-cq

pull/2347/head
Craig Tiller 10 years ago
commit 0aa6b7c637
  1. 2
      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;

Loading…
Cancel
Save