Commit Graph

608 Commits

Author SHA1 Message Date
Craig Tiller 59da7bc42a
Eliminate grpc_core::Atomic (#27025)
* Eliminate grpc_core::Atomic

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* initialize things

* fix include order

* fix

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: Mark D. Roth <roth@google.com>
2021-08-19 20:54:55 -07:00
AJ Heller d10617edb5
Move resource_user ownership into chttp2 transport/server/connector v2 (#27032)
Reintroducing PR #26643, which was reverted in #27029

Fixed a memory leak and added a test that would have caught it (ASAN build): ca0c8c4
2021-08-18 17:04:00 -07:00
Craig Tiller f5d3ed2db1
Revert "Move resource_user ownership into chttp2 transport/server/connector (#26643)" (#27029)
This reverts commit d1935a65a1. Will be rolled forward with a fix.
2021-08-16 19:07:39 -07:00
AJ Heller d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector (#26643) 2021-08-16 13:50:56 -07:00
Vijay Pai ea4b68e7a1
Drop experimental tags from core callback API (#26535) 2021-06-24 17:20:43 -07:00
Ashitha Santhosh b9a643a817
Static policy provider implementation. (#26134) 2021-06-03 23:18:08 -07:00
Mark D. Roth 4c40ee3f78
move parse_address and sockaddr_utils out of iomgr directory (#26077)
* move parse_address and sockaddr_utils out of iomgr directory

* clang-format

* fix python

* fix for import

* fix build file for import
2021-04-30 08:21:58 -07:00
Esun Kim ca945a58e9
Introduced grpc_error_handle (#25902)
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
2021-04-22 12:00:28 -07:00
Lidi Zheng 1040fbdb9f
Re-introduce "CSDS Implementation" (#25762)
* Revert "Revert "CSDS Implementation (#25038)" (#25745)"

This reverts commit 98fd4e1e36.

* Add xDS special Bazel build rules

* Add 2 todos to remove the added rules
2021-03-22 13:14:19 -07:00
Lidi Zheng 98fd4e1e36
Revert "CSDS Implementation (#25038)" (#25745)
This reverts commit 27de24a38e.
2021-03-17 13:38:47 -07:00
Lidi Zheng 27de24a38e
CSDS Implementation (#25038)
* Implement the xDS Config Dump as CSDS in Core

* Revemp the logic of caching and constructing the CSDS response
* Unref created error
* Fix the clang tidy complains
* Resolve comments about symbol preload and Json ctor
* Improve readability
* Merge with new ADS logic && support latest CSDS
  * Refactor the version/client_status logic
  * Add support for error_state
  * Add support for does_not_exist
  * Add node information
* Fix the ProtoBuf segfault
* More test cases
* Refactor to use bytes as cache instead of JSON

* Apply clang_tidy's suggestion

* Resolve reviewer's requests

* Tiny stylish fixes && make sanity test happy

* WIP: still working on the matchers

* Update a bunch of matchers

* Improve readability a bit

* Resolve reviewer's suggestions

* Resolve reviewer's comments

* Make Unpack fail fast
2021-03-16 18:17:37 -07:00
Esun Kim a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr (#25628) 2021-03-09 21:30:35 -08:00
Chuan Ren 06cc42eb85 Add support of implicit and explicit flows for external account creds 2021-01-05 13:20:42 -08:00
Yash Tibrewal 4105d2ce20 XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete 2020-12-16 12:15:52 -08:00
Jan Tattermusch f18a02253f remove Flaky=true flag for some tests 2020-12-15 08:55:00 +01:00
Esun Kim 53ab235fb8 Fix google-explicit-constructor 2020-12-03 15:03:39 -08:00
Esun Kim 6c440e820b
Merge pull request #24841 from veblush/tidy-google-readability-casting
[Clang-Tidy] google-readability-casting
2020-12-03 14:49:45 -08:00
Yash Tibrewal 096b2324e1 Experimental API for XdsServerCredentials 2020-12-01 12:47:52 -08:00
Esun Kim 2ff84ed8c2 C++ cast for void* 2020-11-30 17:29:15 -08:00
ZhenLian d74e43da95 Add File Watcher Certificate Provider API 2020-11-19 13:36:13 -08:00
yang-g de7e8a249c Return given code/message for lame channel rather than Unknown. 2020-11-12 09:50:58 -08:00
Mark D. Roth 27e1c1c56d clang-tidy: enable google-readability-braces-around-statements 2020-11-06 13:41:44 -08:00
ZhenLian 518ed1303c Add Credential Loading From Static Providers For TLS Credentials 2020-10-22 13:55:31 -07:00
Yash Tibrewal 48ec53971a gRPC Core API to create Xds channel credentials 2020-10-05 14:52:08 -07:00
Esun Kim b8ac1b1e5c
Revert "Revert "Implemented conditional shutdown"" 2020-09-15 11:36:28 -07:00
Esun Kim 7a0f16e805
Revert "Implemented conditional shutdown" 2020-09-08 15:21:14 -07:00
Yash Tibrewal 139895d2c8
Merge pull request #23894 from yashykt/removegrpcchannelping
Remove grpc_channel_ping from surface API
2020-09-08 11:33:29 -07:00
Esun Kim aff01d7139 Implemented conditional shutdown 2020-09-03 16:45:28 -07:00
Yash Tibrewal 4a03ce5a14 Remove grpc_channel_ping from surface API 2020-08-20 17:07:04 -07:00
Yash Tibrewal 2c5291ff71 Plumb absl::Status through connectivity state notifiers 2020-07-22 15:56:24 -07:00
Richard Belleville 089d90933a
Merge pull request #23203 from gnossen/python_google_default_creds
Implement compute_engine_channel_credentials in Python
2020-07-22 13:14:54 -07:00
Vijay Pai 9d79ca6058 C++ify core server 2020-07-20 03:15:18 -07:00
Richard Belleville 0ef84e4306 Regenerate projects 2020-07-13 19:36:54 +00:00
Mark D. Roth 9404f66f70 Replace most uses of gpr_asprintf() with absl calls. 2020-07-07 12:01:02 -07:00
Alexander Polcyn b88c0a22c7 Fix use-after-free in ruby call creds 2020-06-26 13:26:54 -07:00
Mark D. Roth 492889f1c0 Convert chttp2 server connection-handling code to C++. 2020-06-19 11:32:18 -07:00
Jan Tattermusch babda64697 mark concurrent_connectivity_test as flaky 2020-05-28 03:17:11 -04:00
yang-g 2b78747d15 Let grpc_init/shutdown cover credentials create/release 2020-05-15 13:02:04 -07:00
yang-g 10b50653ee Revert "Merge pull request #22952 from grpc/revert-22922-sequential_conn"
This reverts commit 30ad47d819, reversing
changes made to ad7c94c944.
2020-05-15 13:00:56 -07:00
Jan Tattermusch 7a53004da7
Revert "Let the connectivity test use local subchannel pool to create multipl…" 2020-05-14 09:58:09 +02:00
yang-g 9c63d75e20 Resolve comments 2020-05-11 15:42:37 -07:00
yang-g 52b3c66e53 Cover both subchannel sharing/non-sharing cases in test 2020-05-11 14:52:36 -07:00
yang-g ae8770a317 Let the connectivity test use local subchannel pool to create multiple connections 2020-05-11 11:57:19 -07:00
Mark D. Roth c769951764 Remove deprecated variant of JoinHostPort(). 2020-05-08 09:13:26 -07:00
ZhenLian d75de51e43 [10/n] remove hard-coded credential paths and rebuild the project 2020-04-29 10:51:56 -07:00
Yash Tibrewal b7941bedf3
Merge pull request #22575 from yashykt/newfilter
Move decompression into gRPC Core
2020-04-16 15:21:01 -07:00
ZhenLian 882bc03432
Merge pull request #22672 from grpc/zhen_core_test_improvement_4
[5/n] Avoid using hardcoded test credentials
2020-04-15 23:07:10 -07:00
ZhenLian 5dfa78b55f [No Review] test MacOS test behaviors 2020-04-15 00:01:30 -07:00
ZhenLian 096c276182 [4/n] Avoid using hardcoded test credentials 2020-04-14 11:47:19 -07:00
Yash Tibrewal d24387ae4f Removing compression from grpc_byte_buffer_reader, removing ManualConstructor in decompress filter and fixing tests 2020-04-13 17:29:27 -07:00