diff options
author | 2015-09-25 15:12:16 -0700 | |
---|---|---|
committer | 2015-09-25 15:12:16 -0700 | |
commit | 4dbdd6a5c2adca0e91f5a71a6f23385a2991ae1e (patch) | |
tree | 03c79df9246b26f48be50f7499b2134c5dd74b1b /src/core/channel/http_server_filter.c | |
parent | b09a8759174531790b38cc67079e0b836a519c0a (diff) |
Remove metadata canonicalization, and fix some bugs
Diffstat (limited to 'src/core/channel/http_server_filter.c')
-rw-r--r-- | src/core/channel/http_server_filter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/channel/http_server_filter.c b/src/core/channel/http_server_filter.c index 549c1da580..5e6d684a52 100644 --- a/src/core/channel/http_server_filter.c +++ b/src/core/channel/http_server_filter.c @@ -273,9 +273,9 @@ static void init_channel_elem(grpc_exec_ctx *exec_ctx, channeld->http_scheme = grpc_mdelem_from_strings(mdctx, ":scheme", "http"); channeld->https_scheme = grpc_mdelem_from_strings(mdctx, ":scheme", "https"); channeld->grpc_scheme = grpc_mdelem_from_strings(mdctx, ":scheme", "grpc"); - channeld->path_key = grpc_mdstr_from_string(mdctx, ":path", 0); - channeld->authority_key = grpc_mdstr_from_string(mdctx, ":authority", 0); - channeld->host_key = grpc_mdstr_from_string(mdctx, "host", 0); + channeld->path_key = grpc_mdstr_from_string(mdctx, ":path"); + channeld->authority_key = grpc_mdstr_from_string(mdctx, ":authority"); + channeld->host_key = grpc_mdstr_from_string(mdctx, "host"); channeld->content_type = grpc_mdelem_from_strings(mdctx, "content-type", "application/grpc"); |