aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/channel
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-21 13:03:18 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-21 13:53:16 -0800
commit53d5f9d887ae50d255a96536b8555b32631d4489 (patch)
treedaa992fb890391a4a86f6f7781af0363fed93278 /src/core/channel
parentc6dffe5c5172bc4d8f98980b561dd77d9f631876 (diff)
Initialize some members
Diffstat (limited to 'src/core/channel')
-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;