diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-04-29 11:31:06 -0700 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-05-20 07:48:48 +0200 |
commit | 84d964a8df03b4bb40e7d510f517fc65633e03f8 (patch) | |
tree | 8dc82ee2d59ffa80fe8faa91c46518983b2933b9 /src/core/security/client_auth_filter.c | |
parent | c6f8d0a4c6bd70cc4f48b2f6ddd3ca15d76cec06 (diff) |
API for auth context and server-side secure transport only impl.
Still TODO:
- a way to plug a metadata processing (somewhat elsewhere but did not
one to overload this already large PR).
- plug-in the auth context on the client side.
- Better end to end testing.
Diffstat (limited to 'src/core/security/client_auth_filter.c')
-rw-r--r-- | src/core/security/client_auth_filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/security/client_auth_filter.c b/src/core/security/client_auth_filter.c index 1d9788b8dd..9e1198919b 100644 --- a/src/core/security/client_auth_filter.c +++ b/src/core/security/client_auth_filter.c @@ -189,6 +189,8 @@ static void auth_start_transport_op(grpc_call_element *elem, grpc_linked_mdelem *l; size_t i; + /* TODO(jboeuf): write the call auth context. */ + if (op->send_ops && !calld->sent_initial_metadata) { size_t nops = op->send_ops->nops; grpc_stream_op *ops = op->send_ops->ops; |