Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
f07e6a31
Commit
f07e6a31
authored
8 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Undo experimental change
parent
8d322776
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/lib/surface/init.c
+1
-17
1 addition, 17 deletions
src/core/lib/surface/init.c
with
1 addition
and
17 deletions
src/core/lib/surface/init.c
+
1
−
17
View file @
f07e6a31
...
...
@@ -106,22 +106,6 @@ static bool maybe_add_http_filter(grpc_exec_ctx *exec_ctx,
return
true
;
}
typedef
struct
{
const
grpc_channel_filter
*
filter
;
const
char
*
controlling_channel_arg
;
bool
default_on
;
}
maybe_prepend_filter_args
;
static
const
maybe_prepend_filter_args
message_size_args
=
{
&
grpc_message_size_filter
,
NULL
,
true
};
static
bool
maybe_prepend_filter
(
grpc_exec_ctx
*
exec_ctx
,
grpc_channel_stack_builder
*
builder
,
void
*
arg
)
{
return
grpc_channel_stack_builder_prepend_filter
(
builder
,
(
const
grpc_channel_filter
*
)
arg
,
NULL
,
NULL
);
}
static
void
register_builtin_channel_init
()
{
grpc_channel_init_register_stage
(
GRPC_CLIENT_DIRECT_CHANNEL
,
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
...
...
@@ -131,7 +115,7 @@ static void register_builtin_channel_init() {
(
void
*
)
&
grpc_server_deadline_filter
);
grpc_channel_init_register_stage
(
GRPC_CLIENT_SUBCHANNEL
,
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
maybe_
prepend_filter
,
(
void
*
)
&
message_size_
args
);
prepend_filter
,
(
void
*
)
&
grpc_
message_size_
filter
);
grpc_channel_init_register_stage
(
GRPC_CLIENT_DIRECT_CHANNEL
,
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
prepend_filter
,
(
void
*
)
&
grpc_message_size_filter
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment