aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/channel/http_server_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/channel/http_server_filter.c')
-rw-r--r--src/core/channel/http_server_filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/channel/http_server_filter.c b/src/core/channel/http_server_filter.c
index aef001b7cd..e6f88a4bd4 100644
--- a/src/core/channel/http_server_filter.c
+++ b/src/core/channel/http_server_filter.c
@@ -282,6 +282,9 @@ static void init_channel_elem(grpc_channel_element *elem,
channeld->content_type =
grpc_mdelem_from_strings(mdctx, "content-type", "application/grpc");
+ /* initialize http download support */
+ channeld->gettable_count = 0;
+ channeld->gettables = NULL;
for (i = 0; i < args->num_args; i++) {
if (0 == strcmp(args->args[i].key, GRPC_ARG_SERVE_OVER_HTTP)) {
gettable *g;