Mark D. Roth
a2bd7b8440
allow connectivity state watching to work on lame channels ( #27747 )
...
* allow connectivity state watching to work on lame channels
* fix build
* fix lame_client_test
3 years ago
Craig Tiller
2f56cb3d87
Remove grpc.internal. channel args at API sites ( #27536 )
...
* Remove grpc.internal. channel args at API sites
gRPC uses channel args both as an API surface and as an internal
implementation detail. The merits of this are debatable, but it's
probably the best mechanism we have right now, and changing it would be
an effort best not undertaken today.
In order to focus hardening efforts to the highest payoff, this change
introduces a filter to remove any internal channel args received from
outside our public API, effectively guaranteeing that any usage of these
arguments comes from within code that we maintain.
There will likely be a whack-a-mole game over the following weeks to
mark more channel arguments as internal - I have not done a thorough
audit!
* get api usage right
* fix
* fixes
* rename internal -> test_only so it passes through
3 years ago
Ashitha Santhosh
a1db97be90
Revert "Revert "Revert "Revert "File watcher authorization policy provider implementation"" ( #27605 )" ( #27644 )" ( #27645 )
...
This reverts commit b8e01f73a0
.
3 years ago
AJ Heller
b8e01f73a0
Revert "Revert "Revert "File watcher authorization policy provider implementation"" ( #27605 )" ( #27644 )
...
This reverts commit 5912aedb2b
.
3 years ago
Ashitha Santhosh
5912aedb2b
Revert "Revert "File watcher authorization policy provider implementation"" ( #27605 )
...
* Revert "Revert "File watcher authorization policy provider implementation (#26779 )" (#27591 )"
This reverts commit a1ad74f7af
.
* Remove license comment
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
a1ad74f7af
Revert "File watcher authorization policy provider implementation ( #26779 )" ( #27591 )
...
This reverts commit 310accd077
.
3 years ago
Ashitha Santhosh
310accd077
File watcher authorization policy provider implementation ( #26779 )
...
* File watcher authorization policy provider implementation
3 years ago
Alisha Nanda
0a502d8f2e
Fix race between Read and ServerContext::IsCancelled in Sync API ( #27056 )
...
* Fix OOM issues in qps tests
* Add more verbose logging.
* Fix clang error
* Fix race between IsCancelled and Read
* Fix build errors from using bool in C code
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
AJ Heller
2d16865693
Delete libuv-iomgr implementation and GRPC_UV build option ( #27188 )
...
This has been unmaintained for years, last supported in gRPC-core v1.24.
3 years ago
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>
3 years ago
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
3 years ago
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.
3 years ago
AJ Heller
d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector ( #26643 )
3 years ago
Vijay Pai
ea4b68e7a1
Drop experimental tags from core callback API ( #26535 )
3 years ago
Ashitha Santhosh
b9a643a817
Static policy provider implementation. ( #26134 )
4 years ago
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
4 years ago
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
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
4 years ago
Lidi Zheng
98fd4e1e36
Revert "CSDS Implementation ( #25038 )" ( #25745 )
...
This reverts commit 27de24a38e
.
4 years ago
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
4 years ago
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
4 years ago
Chuan Ren
06cc42eb85
Add support of implicit and explicit flows for external account creds
4 years ago
Yash Tibrewal
4105d2ce20
XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete
4 years ago
Jan Tattermusch
f18a02253f
remove Flaky=true flag for some tests
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Yash Tibrewal
096b2324e1
Experimental API for XdsServerCredentials
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
ZhenLian
d74e43da95
Add File Watcher Certificate Provider API
4 years ago
yang-g
de7e8a249c
Return given code/message for lame channel rather than Unknown.
4 years ago
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
4 years ago
ZhenLian
518ed1303c
Add Credential Loading From Static Providers For TLS Credentials
4 years ago
Yash Tibrewal
48ec53971a
gRPC Core API to create Xds channel credentials
4 years ago
Esun Kim
b8ac1b1e5c
Revert "Revert "Implemented conditional shutdown""
4 years ago
Esun Kim
7a0f16e805
Revert "Implemented conditional shutdown"
4 years ago
Esun Kim
aff01d7139
Implemented conditional shutdown
4 years ago
Yash Tibrewal
4a03ce5a14
Remove grpc_channel_ping from surface API
4 years ago
Yash Tibrewal
2c5291ff71
Plumb absl::Status through connectivity state notifiers
4 years ago
Vijay Pai
9d79ca6058
C++ify core server
4 years ago
Richard Belleville
0ef84e4306
Regenerate projects
4 years ago
Mark D. Roth
9404f66f70
Replace most uses of gpr_asprintf() with absl calls.
4 years ago
Alexander Polcyn
0bfbea06bc
Fix use-after-free in ruby call creds
4 years ago
Richard Belleville
c8a8a6aea4
Get new core API design building
4 years ago
Alexander Polcyn
b88c0a22c7
Fix use-after-free in ruby call creds
4 years ago
Richard Belleville
4de06d0e22
Regenerate projects
4 years ago
Richard Belleville
1aae547e2c
Regenerate projects
4 years ago
Mark D. Roth
492889f1c0
Convert chttp2 server connection-handling code to C++.
5 years ago
Jan Tattermusch
babda64697
mark concurrent_connectivity_test as flaky
5 years ago
yang-g
2b78747d15
Let grpc_init/shutdown cover credentials create/release
5 years ago