Esun Kim
5207eba9ff
Add abseil
2020-01-03 19:29:55 -08:00
Zhen Lian
618771dc6a
[Exposing ALTS Context 2/2] Utility Wrapper Class
...
This PR contains:
1. An ALTS context exposed for users to use, and a GetAltsContextFromAuthContext() function to get ALTS context from an AuthContext. Functionality-wise this part is similar with a previous PR https://github.com/grpc/grpc/pull/21536 , but in this PR, we adjusted the code structure and made some minor changes to better suit function clientAuthzCheck()
2. A clientAuthzCheck() function for users to check if the server is authorized
2020-01-03 09:30:46 -08:00
Vijay Pai
4062025312
Check for negative on NextMessageSize
2019-12-18 22:20:31 -08:00
Yang Gao
5a938a7012
Revert "Allow plugin/option/global_callback to override max_recv_message_size"
2019-12-16 17:58:02 -08:00
Guantao Liu
126248c7c1
Merge pull request #21492 from grpc/revert-21456-zhen_alts_context_new
...
Revert "[Exposing ALTS Context 2/2] Utility Wrapper Class"
2019-12-16 17:09:59 -08:00
Vijay Pai
c512dd1aac
Merge pull request #21490 from vjpai/fix_cancellation
...
Fix cancellation callback data race
2019-12-16 17:07:02 -08:00
Yang Gao
f8ebc20d3c
Merge pull request #21478 from yang-g/max_message_size
...
Allow plugin/option/global_callback to override max_recv_message_size
2019-12-16 15:33:25 -08:00
Guantao Liu
b341ddf72b
Revert "[Exposing ALTS Context 2/2] Utility Wrapper Class"
2019-12-16 15:29:27 -08:00
Vijay Pai
c758bf9571
clang-fmt
2019-12-16 13:43:55 -08:00
Vijay Pai
bffc5701e6
Fix cancellation
2019-12-16 13:39:21 -08:00
yang-g
2db942a875
Allow plugin/option/global_callback to override max_recv_message_size
2019-12-13 16:32:37 -08:00
Zhen Lian
98391c8f76
[Exposing ALTS Context 2/2] Utility Wrapper Class
2019-12-13 13:31:38 -08:00
Vijay Pai
377a32c0ce
Merge pull request #21443 from vjpai/fix_bug_21210
...
Move operations out of lock in Bind functions
2019-12-11 21:48:36 -08:00
Vijay Pai
19404f516c
Merge pull request #21405 from vjpai/deexperimentalize_codegen
...
De-experimentalize generated callback code
2019-12-11 18:50:13 -08:00
Vijay Pai
d82b3124fe
Move operations out of lock in Bind functions
2019-12-11 16:34:46 -08:00
Vijay Pai
8d9d8326f5
De-experimentalize generated code
2019-12-11 16:21:23 -08:00
Esun Kim
169e775958
Revert "Generic API: assert when sending uninitialized byte buffer"
2019-12-11 12:58:34 -08:00
Vijay Pai
ad697806ec
Remove unneeded semicolons
...
Caught by linter
2019-12-09 13:29:18 -08:00
hcaseyal
1917b1f794
Merge pull request #21385 from hcaseyal/generic_unary
...
Generic API: assert when sending uninitialized byte buffer
2019-12-09 08:34:13 -08:00
Hope Casey-Allen
89e5c2f45a
Add assert for API misuse
2019-12-06 14:45:00 -08:00
yihuaz
bad1b352a1
Merge pull request #21399 from yihuazhang/spiffe-rename
...
Rename existing Spiffe security stack to TLS
2019-12-06 11:11:14 -08:00
Vijay Pai
4d5b841eee
Merge pull request #21398 from vjpai/deexperimentalize_generic
...
De-experimentalize generic stub callback uses (under ifdef)
2019-12-06 10:56:28 -08:00
Yihua Zhang
cc5a7d6324
Merge remote-tracking branch 'upstream/master' into spiffe-rename
2019-12-06 08:20:24 -08:00
Vijay Pai
e6d87e273e
Fix
2019-12-05 20:47:03 -08:00
Yihua Zhang
a6dbc7adb5
rename spiffe to tls
2019-12-05 16:03:37 -08:00
Vijay Pai
3da2c7aa22
De-experimentalize generic stub (under macro)
2019-12-05 15:40:21 -08:00
Vijay Pai
7c46d37442
Merge pull request #21380 from vjpai/implement_generic_unary_reactor
...
Actually implement the generic reactor-based unary call
2019-12-05 15:18:17 -08:00
Vijay Pai
c5b9828592
Merge pull request #21378 from vjpai/deexperimentalize_alarm
...
De-experimentalize callback alarm
2019-12-05 10:11:41 -08:00
Vijay Pai
88874094be
Actually implement the generic reactor-based unary call.
2019-12-04 11:41:47 -08:00
Vijay Pai
4b82faeb88
De-experimentalize alarm
2019-12-04 10:53:51 -08:00
Vijay Pai
62e01dd922
Add non-experimental:: versions under ifdef
2019-12-04 06:27:41 -08:00
Vijay Pai
1c5aa3c0ad
Remove namespace experimental here also
2019-12-03 21:37:55 -08:00
Vijay Pai
eac7b5ee49
port_platform should be included since that's where NONEXPERIMENTAL is specified
2019-12-03 20:20:39 -08:00
Vijay Pai
2c87eaabd4
De-experimentalize generic features of callback API under an ifdef
2019-12-03 12:24:13 -08:00
Vijay Pai
94a8c5888a
Remove namespace experimental from namespace grpc_impl
2019-12-02 15:36:05 -08:00
Nicolas Noble
e3095a15ce
Revert "[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context"
2019-11-26 10:32:24 -08:00
ZhenLian
69112951f4
Merge pull request #21196 from ZhenLian/zhen_alts_context_C++_2
...
[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context
2019-11-26 09:56:33 -08:00
Zhen Lian
fe9576c861
[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context
2019-11-25 15:56:33 -08:00
Yash Tibrewal
b4d6916552
Merge pull request #20567 from yashykt/docupdate
...
Stronger guarantee on failure of read/write operations
2019-11-25 11:59:10 -08:00
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
2019-11-20 16:56:18 -08:00
Hope Casey-Allen
3bbfb76b64
Add comment about thread safety
2019-11-19 14:44:30 -08:00
Esun Kim
f40a702441
Clean up headers
2019-11-15 09:38:31 -08:00
Vijay Pai
300252a857
Constify parameter struct since all fields set at construction
...
Improve readability
2019-11-07 02:35:04 -08:00
Esun Kim
1e74c102cd
Add GRPC_USE_ABSL flag
2019-11-05 20:47:01 -08:00
Esun Kim
81df105ac8
Deprecate gpr_get/set_allocation_functions
2019-11-04 19:47:33 -08:00
Yash Tibrewal
a980df6293
Add documentation around peer, auth_context and census_context properties of ClientContext
2019-10-24 14:34:58 -07:00
nanahpang
8619219081
Merge pull request #20681 from nanahpang/fix_gpr_log_error
...
Comment out lines that cause error "undefined reference to gpr_log"
2019-10-18 16:12:11 -07:00
Yash Tibrewal
9f9288fbb9
Merge pull request #20246 from yashykt/credentials_expose
...
Experimental method to get a debugging only view into credentials
2019-10-18 15:24:54 -07:00
Na-Na Pang
58b352343e
comment out grpc_log
2019-10-18 14:52:18 -07:00
Vijay Pai
a0ad4081cb
Merge pull request #20623 from vjpai/noassert
...
Stop using assert in impl/codegen (use GPR_CODEGEN_ASSERT)
2019-10-17 07:33:53 -07:00