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
98bf7e65
Commit
98bf7e65
authored
9 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Added comments
parent
949b6ee7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/core/channel/http_client_filter.c
+5
-1
5 additions, 1 deletion
src/core/channel/http_client_filter.c
src/core/channel/http_server_filter.c
+4
-0
4 additions, 0 deletions
src/core/channel/http_server_filter.c
src/core/iomgr/iomgr.h
+2
-0
2 additions, 0 deletions
src/core/iomgr/iomgr.h
with
11 additions
and
1 deletion
src/core/channel/http_client_filter.c
+
5
−
1
View file @
98bf7e65
...
@@ -43,8 +43,12 @@ typedef struct call_data {
...
@@ -43,8 +43,12 @@ typedef struct call_data {
int
got_initial_metadata
;
int
got_initial_metadata
;
grpc_stream_op_buffer
*
recv_ops
;
grpc_stream_op_buffer
*
recv_ops
;
grpc_iomgr_closure
*
on_done_recv
;
/** Closure to call when finished with the hc_on_recv hook */
grpc_iomgr_closure
*
on_done_recv
;
/** Receive closures are chained: we inject this closure as the on_done_recv
up-call on transport_op, and remember to call our on_done_recv member
after handling it. */
grpc_iomgr_closure
hc_on_recv
;
grpc_iomgr_closure
hc_on_recv
;
}
call_data
;
}
call_data
;
...
...
This diff is collapsed.
Click to expand it.
src/core/channel/http_server_filter.c
+
4
−
0
View file @
98bf7e65
...
@@ -47,7 +47,11 @@ typedef struct call_data {
...
@@ -47,7 +47,11 @@ typedef struct call_data {
grpc_linked_mdelem
status
;
grpc_linked_mdelem
status
;
grpc_stream_op_buffer
*
recv_ops
;
grpc_stream_op_buffer
*
recv_ops
;
/** Closure to call when finished with the hs_on_recv hook */
grpc_iomgr_closure
*
on_done_recv
;
grpc_iomgr_closure
*
on_done_recv
;
/** Receive closures are chained: we inject this closure as the on_done_recv
up-call on transport_op, and remember to call our on_done_recv member
after handling it. */
grpc_iomgr_closure
hs_on_recv
;
grpc_iomgr_closure
hs_on_recv
;
}
call_data
;
}
call_data
;
...
...
This diff is collapsed.
Click to expand it.
src/core/iomgr/iomgr.h
+
2
−
0
View file @
98bf7e65
...
@@ -73,6 +73,8 @@ void grpc_iomgr_shutdown(void);
...
@@ -73,6 +73,8 @@ void grpc_iomgr_shutdown(void);
* Can be called from within a callback or from anywhere else */
* Can be called from within a callback or from anywhere else */
void
grpc_iomgr_add_callback
(
grpc_iomgr_closure
*
closure
);
void
grpc_iomgr_add_callback
(
grpc_iomgr_closure
*
closure
);
/** As per grpc_iomgr_add_callback, with the ability to set the success
argument. */
void
grpc_iomgr_add_delayed_callback
(
grpc_iomgr_closure
*
iocb
,
int
success
);
void
grpc_iomgr_add_delayed_callback
(
grpc_iomgr_closure
*
iocb
,
int
success
);
#endif
/* GRPC_INTERNAL_CORE_IOMGR_IOMGR_H */
#endif
/* GRPC_INTERNAL_CORE_IOMGR_IOMGR_H */
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