Yihua Zhang
c8c284ed3a
merge with upstream/master
2020-01-07 15:33:26 -08:00
yihuaz
e9665070b9
Merge pull request #21423 from akshayku/full-chain-callback-experimental
...
Add Support for Full Chain Callbacks - experimental namespace
2020-01-07 14:57:13 -08:00
Yihua Zhang
62005e4290
Merge remote-tracking branch 'upstream/master' into grpc_security_level_negotiation
2020-01-07 13:10:08 -08:00
Akshay Kumar
02371b7569
FullChainExperimental-01-200106-ssl_transport_security_test-4
2020-01-07 11:22:00 -08:00
Yang Gao
b07d7f1485
Merge pull request #21597 from yang-g/max_message_size
...
Allow plugin/global_callback to override max_recv_message_size
2020-01-07 08:42:32 -08:00
Arjun Roy
48f026d90e
gRPC TCP Transmit-side Zerocopy.
...
Implements TCP Tx-side zerocopy. Must be explicitly enabled to use.
For large RPCs (>= 16KiB) it reduces the amount of CPU time spent
since it avoids a userspace to kernel data buffer copy. However, there
is a tradeoff - the application must process a callback on the socket
error queue placed by the kernel, informing the application that the
data buffer can be freed since the kernel is done. The cost of
processing the error queue means that we do not have an advantage for
small RPCs.
2020-01-06 18:00:14 -08:00
yang-g
f50c5a025c
Revert "Merge pull request #21494 from grpc/revert-21478-max_message_size"
...
This reverts commit 2e4ebd7478 , reversing
changes made to 1bd6fcc338 .
2020-01-06 16:33:08 -08:00
Yihua Zhang
e10d90ba27
add security level negotiation between call creds and channel.
2020-01-06 11:40:27 -08:00
Vijay Pai
2f0362ee3a
Remove unused (and defective) constructor
2020-01-05 16:27:30 -08:00
Akshay Kumar
db11b94f25
FullChainExperimental-01-200103
2020-01-03 22:37:18 -08:00
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