Commit Graph

3664 Commits

Author SHA1 Message Date
Yash Tibrewal 820ee53030
Merge pull request #22000 from yashykt/unusedparams
Remove some unused parameter warnings
2020-02-13 16:23:19 -08:00
Esun Kim aa666f4b76
Merge pull request #21996 from veblush/deadline-catch
Delete default TimePoint constructor to detect error at compile time
2020-02-13 12:34:15 -08:00
Esun Kim cf618b1b8c Removed unused sync_[no]_cxx11 files 2020-02-13 09:26:51 -08:00
Esun Kim fd72a70e7d Update by review 2020-02-13 09:11:51 -08:00
Yash Tibrewal 4a02ff7747 Remove some unused parameter warnings 2020-02-12 17:56:34 -08:00
Esun Kim 89908faede Delete default TimePoint constructor to detect error at compile time 2020-02-12 12:20:36 -08:00
Esun Kim 9b5e418ed0
Merge pull request #21986 from veblush/absl-lock-pre
Added abseil-based sync
2020-02-11 17:12:17 -08:00
Esun Kim 0b26a2ff56 Added abseil-based sync 2020-02-11 14:44:25 -08:00
Vijay Pai 06ca713df0 Instantiate tracking members regardless of NDEBUG 2020-02-11 13:54:25 -08:00
Vijay Pai 6b2aeec9f3 Revert "Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"""" 2020-02-11 13:50:53 -08:00
Vijay Pai ac0db94cb1 Allow separate templatizing of request and response types 2020-02-07 00:46:29 -08:00
Vijay Pai 0dda2e45b7 Templatize generic stub 2020-02-06 22:53:00 -08:00
Vijay Pai 7aaacb4bd9 Remove some grpc_impl:: 2020-02-06 22:50:02 -08:00
Vijay Pai 152f46b5f6 Move generic stub implementation to header (prepare for templates) 2020-02-04 23:42:22 -08:00
matthewstevenson88 b94490bc74
Merge pull request #21828 from grpc/revert-21804-tls-credentials-1
Revert "Updates to TLS credentials, version 2"
2020-01-29 13:51:42 -08:00
matthewstevenson88 9e0b87f523
Revert "Updates to TLS credentials, version 2" 2020-01-29 12:24:21 -08:00
Nicolas Noble de76cf8522
Stop using ByteSize as it's deprecated.
Fixes #21603
2020-01-29 10:46:19 -08:00
matthewstevenson88 deb59ef6c0
Merge pull request #21804 from matthewstevenson88/tls-credentials-1
Updates to TLS credentials, version 2
2020-01-28 09:40:56 -08:00
Lidi Zheng 312b31c264
Merge pull request #21806 from grpc/revert-21767-revert-21725-revert-21680-cq_ordering
Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"""
2020-01-27 16:34:45 -08:00
Mark D. Roth 404d235153
Merge pull request #21775 from markdroth/xds_timeout
Support xds request timeouts.
2020-01-27 15:50:46 -08:00
Vijay Pai 15d808abae
Merge pull request #21774 from vjpai/lazy_default_reactor
Construct DefaultReactor lazily since not always needed
2020-01-27 14:23:42 -08:00
Lidi Zheng cd086cb3e4
Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)""" 2020-01-27 14:10:44 -08:00
Matthew Stevenson e18defc303 Fix attempt #2. 2020-01-27 12:47:32 -08:00
Mark D. Roth d7a91d59bb Support xds request timeouts. 2020-01-27 11:27:44 -08:00
Vijay Pai a801ccbdc8 Reinterpret_cast after in-place new... 2020-01-24 12:25:51 -08:00
matthewstevenson88 26d50f726a
Revert "Collect TLS-specific changes from PR 20568." 2020-01-23 12:34:43 -08:00
Vijay Pai 1f0cdd5aad Construct DefaultReactor lazily since not always needed 2020-01-23 08:52:21 -08:00
Vijay Pai 16f2250585 Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"" 2020-01-22 21:58:35 -08:00
Vijay Pai a50e265f1b
Merge pull request #21741 from vjpai/clarify_comments
Clarify ownership in comments
2020-01-22 21:54:19 -08:00
Matthew Stevenson 5cfff04ce9 Collect TLS-specific changes from PR 2-568. 2020-01-22 13:06:22 -08:00
Vijay Pai 64281e8c79 Clarify ownership in comments 2020-01-21 10:45:04 -08:00
Jan Tattermusch e7d5ca0b46
Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)" 2020-01-20 14:42:29 +01:00
Vijay Pai 6466c7f166 Log an error (in dbg mode) if CQ is Shutdown before its Server(s) 2020-01-16 11:51:44 -08:00
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