Skip to content
Snippets Groups Projects
Commit c29812fc authored by jboeuf's avatar jboeuf
Browse files

Merge pull request #2845 from ctiller/reorder-some-things

Reorder filters to ensure that :authority is available when the auth …
parents 95a98ca7 8f1b169b
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,8 @@ static void on_secure_transport_setup_done(void *arg,
c->args.channel_args, secure_endpoint, c->args.metadata_context, 1);
grpc_chttp2_transport_start_reading(c->result->transport, NULL, 0);
c->result->filters = gpr_malloc(sizeof(grpc_channel_filter *) * 2);
c->result->filters[0] = &grpc_client_auth_filter;
c->result->filters[1] = &grpc_http_client_filter;
c->result->filters[0] = &grpc_http_client_filter;
c->result->filters[1] = &grpc_client_auth_filter;
c->result->num_filters = 2;
}
notify = c->notify;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment