Craig Tiller
8d0fb815a1
Remove dead code ( #28314 )
3 years ago
apolcyn
ec600f3973
Replace work serializer with a mutex in c-ares resolver ( #27858 )
...
* Replace work serializer with a mutex in c-ares resolver
3 years ago
Denny C. Dai
3c28d6e65c
Disable App Transport Security (ATL) for CFStream test suite ( #28310 )
3 years ago
Mark D. Roth
f76f2653c3
Second attempt: XdsClient: remove resource-type-specific methods from XdsClient API ( #28305 )
...
* Revert "Revert "XdsClient: remove resource-type-specific methods from XdsClient API (#28231 )" (#28301 )"
This reverts commit 3e779b68fe
.
* remove global resource type registry
3 years ago
Jan Tattermusch
e0b3582701
Fix portability ( #28284 )
...
* Add python3 to list of acceptable pythons in python wrapper
* Attempt to make fake server python3 compatible
* py3 fixes for test server
* more py3 fixes for test server
* require python3 for test/core/http/test_server.py
Co-authored-by: Alexander Polcyn <apolcyn@google.com>
3 years ago
Mark D. Roth
3e779b68fe
Revert "XdsClient: remove resource-type-specific methods from XdsClient API ( #28231 )" ( #28301 )
...
This reverts commit 747a5d8c24
.
3 years ago
krestofur
7e5f257925
Update test creds to have 10 year expiry ( #28291 )
3 years ago
Mark D. Roth
747a5d8c24
XdsClient: remove resource-type-specific methods from XdsClient API ( #28231 )
...
* WIP
* introduce XdsResourceType API and change Listener parsing to use it
* converted RouteConfig parsing
* convert cluster and endpoint parsing
* cleanup
* clang-format
* attempt to work around compiler problems
* move XdsResourceType to its own file, and move endpoint code out of XdsApi
* move cluster parsing to its own file
* move route config parsing to its own file
* move listener parsing to its own file
* clang-format
* minor cleanup
* plumbed XdsResourceType throughout XdsClient
* a bit of cleanup
* more cleanup
* construct full resource names before calling XdsApi::CreateAdsRequest()
* remove some unneeded code
* clean up includes and have XdsResourceType initialize the upb symtab
* more cleanup of unnecessary code
* more cleanup
* update comment
* clang-format
* add missing virtual dtor
* fix build
* remove resource-type-specific methods from XdsClient API
* have each resource type register itself upon instantiation
* remove comment
* add missing virtual dtor
* clang-format
3 years ago
Mark D. Roth
ac70281e74
improve RPC status messages when name resolution fails ( #28091 )
...
* improve RPC status messages when name resolution fails
* fix tests
* clang-format
* fix rls_end2end_test
* fix build
* fix service_config_end2end_test
* fix too_many_pings_test
* fix tests
* fix client_channel to propagate resolution_note to LB policy
* improve comment
3 years ago
Craig Tiller
b95ed96b96
Revert "Revert "Move arena into resource quota ( #28008 )" ( #28292 )" ( #28293 )
...
This reverts commit 91edf92ce0
.
3 years ago
Ming-Chuan
c952e9be63
Revert "Revert "[BinderTransport] Send correct version to server and verify it ( #27990 )" ( #28090 )" ( #28168 )
...
This reverts commit ea49e4c73a
.
msan test failed before because the mock object returns uninitialized
value and the code tries to conditionally log when the value is wrong.
3 years ago
Craig Tiller
91edf92ce0
Revert "Move arena into resource quota ( #28008 )" ( #28292 )
...
This reverts commit ad424a2ebf
.
3 years ago
Mark D. Roth
1ff1feaa83
Revert "update ( #28275 )" ( #28288 )
...
This reverts commit 55b12e2679
.
3 years ago
Craig Tiller
ad424a2ebf
Move arena into resource quota ( #28008 )
...
* new resource quota integration
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* Automated change: Fix sanity tests
* fixes
* fix
* fixes
* windows-fix
* fixes
* fixes
* fix
* fix-asan
* banned
* banned
* fixes
* clang-tidy-fix
* Automated change: Fix sanity tests
* fix-cronet
* review feedback
* review feedback
* Automated change: Fix sanity tests
* fixes
* bug fix
* fixes
* compile fix
* exclude megabyte size payloads from 1byte tests
* windows fix
* start moving ios
* keep moving windows
* Get windows compilation working.
* Automated change: Fix sanity tests
* better
* fixes
* remove slice buffer from memory_allocator.h
* Revert "remove slice buffer from memory_allocator.h"
This reverts commit 234a63b6e3
.
* ugh
* #fixtests
* pthread tls fixes
* Automated change: Fix sanity tests
* fixfixfix
* xxx
* add reset
* review feedback
* fix
* fix
* fixes
* fix
* mac progress
* cpp-impl-of
* rename ptr
* Automated change: Fix sanity tests
* memory-owner-is-a-memory-allocator
* fixes
* fix
* fix from prod
* fix
* Fix issue leading to bad pointers being returned on Windows.
* Automated change: Fix sanity tests
* fix multislice bug
* argh
* hyrums law fixes
* hyrums law fixes
* clang-format
* hyrums law fixes
* Move arena into resource quota
* Remove redundant constant
* fixup the tests
* Automated change: Fix sanity tests
* fiiixes
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fixes
* fix
* fix
* Automated change: Fix sanity tests
* fixes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
81a4ea444e
xds: remove legacy EDS-only workflow ( #28274 )
...
* xds: remove legacy EDS-only workflow
* remove unused constants
* remove unused data member
3 years ago
krestofur
55b12e2679
update ( #28275 )
...
- Update test creds to have 10 year expiry
3 years ago
Craig Tiller
f9c227b212
Fix fuzzer found crash in new metadata code ( #28278 )
...
* Fix fuzzer found crash in new metadata code
* Fix memory leak
3 years ago
Vignesh Babu
bb02562307
Fix use after free bug in API fuzzer ( #28230 )
3 years ago
Craig Tiller
e21505858f
Move some integer based metadata to the new system ( #28198 )
...
* Eliminate most of grpc_message metadata handling
* Eliminate most of host metadata handling
* Remove more callouts without fixing code
* fiiixes
* typo
* Automated change: Fix sanity tests
* try-shrink
* Automated change: Fix sanity tests
* size tweaks
* less tricks
* deunique
* commonize
* commonize
* Automated change: Fix sanity tests
* size tuning, fixes
* Automated change: Fix sanity tests
* fix
* size tuning, fixes
* remove constexpr
* fix
* reuse code
* fix
* tweak code
* more tweaks
* tell no lies
* fixes
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix?
* fix binder
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* initial refactoring
* optimize status encoding
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fix
* try to fix windows failure
* try and scale sizes better
* ambiguity fix?
* wip metadatavalueasslice
* Fix status code for resource exhaustion
* Revert "Revert "Move a bunch of slice typed metadata to new system (#28107 )" (#28208 )"
This reverts commit 7717587063
.
* fix test
* Automated change: Fix sanity tests
* slice helper
* x
* noinline
* try and scale sizes better
* Automated change: Fix sanity tests
* fixes
* fix
* fix
* fix build
* fix overflow
* fix
* fix
* fix
* fix
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Yash Tibrewal
3689072979
xDS: Add graceful shutdown for old connections on listener resource update ( #28154 )
...
* xDS: Add graceful shutdown for old connections on listener resource update
* Add TODOs for review
* Reviewer comments
* Reviewer comments
* Fix merge
* Fix comment
* s/GRPC_ARG_DRAIN_GRACE_TIME_MS/GRPC_ARG_SERVER_CONFIG_CHANGE_DRAIN_GRACE_TIME_MS
3 years ago
Esun Kim
260145c517
Updated backoff to use absl::Random ( #27193 )
...
* Replace in-house rand with absl::Random for backoff (#26463 )
* Replace in-house rand with absl::Random for backoff
* Run sanity
* Added bscrypt dependency
* Removed ABSL_RANDOM_HWAES_FLAGS
* Remove GCC_WARN_64_TO_32_BIT_CONVERSION = YES
* GCC_WARN_64_TO_32_BIT_CONVERSION to podspec install
3 years ago
apolcyn
c6b9483a30
add test for c-ares resolver error message propogation ( #28252 )
3 years ago
Mark D. Roth
9722651156
xds_end2end_test: remove num_balancers from test suite and remove dependence on fake resolver for xDS channel ( #28245 )
...
* xds_end2end_test: remove num_balancers from test suite
* fix clang-tidy
3 years ago
Esun Kim
5961aeb2a0
Revert "Revert "Add absl::Status support to closure ( #27308 )" ( #28211 )" ( #28220 )
...
This reverts commit cd9730d2d2
.
3 years ago
Vignesh Babu
e19e36deac
Api fuzzer double free bug ( #28237 )
...
* Updating surface/call implementation to handle double free exception if there is an error in enqueuing batches of operations
* Adding double free exception inducing testcase
3 years ago
Ashitha Santhosh
f04eedd922
generalize TmpFile interface ( #27848 )
3 years ago
Ashitha Santhosh
1290364374
Plumb subject field and add to authz flow. ( #27615 )
...
* Plumb subject field and add to authz flow.
* formatting
* Test on empty principal
* resolving comments
* resolving comment
* update subject check in test
3 years ago
Vignesh Babu
33aef08081
Add locks to synchronize access to shared variable in flow control test to prevent data race ( #28217 )
...
* protecting shared variable with locks to prevent tsan failures
* formatting code
* removing spurious header file
* adding absl annotations
3 years ago
Craig Tiller
2eadef9a82
Remove bm_metadata ( #28219 )
3 years ago
Craig Tiller
220cf641fa
Reland slice metadata conversion ( #28210 )
...
* Fix status code for resource exhaustion
* Revert "Revert "Move a bunch of slice typed metadata to new system (#28107 )" (#28208 )"
This reverts commit 7717587063
.
* fix test
3 years ago
Esun Kim
192928c997
Use gRPC_BUILD_MSVC_MP_COUNT for windows cmake distrib tests ( #28202 )
3 years ago
Craig Tiller
cd9730d2d2
Revert "Add absl::Status support to closure ( #27308 )" ( #28211 )
...
This reverts commit 400ef2a995
.
3 years ago
Vignesh Babu
71374e7375
accounting for un-matched utf8 bytes in json parsing ( #28203 )
3 years ago
Vignesh Babu
851ad13313
Filter zero length slices passed to grpc passthru endpoint ( #28205 )
...
* updating passthru endpoint to filter 0 length slices passed to endpoint write
* adding testcase which caused the failure
* fix minor bug in passthru endpoint to handle rare case where endpoint write is called with no data to be written
3 years ago
Craig Tiller
7717587063
Revert "Move a bunch of slice typed metadata to new system ( #28107 )" ( #28208 )
...
This reverts commit 4d432aefc1
.
3 years ago
Esun Kim
400ef2a995
Add absl::Status support to closure ( #27308 )
3 years ago
Craig Tiller
4d432aefc1
Move a bunch of slice typed metadata to new system ( #28107 )
...
* Eliminate most of grpc_message metadata handling
* Eliminate most of host metadata handling
* Remove more callouts without fixing code
* fiiixes
* typo
* Automated change: Fix sanity tests
* try-shrink
* Automated change: Fix sanity tests
* size tweaks
* less tricks
* deunique
* commonize
* commonize
* Automated change: Fix sanity tests
* size tuning, fixes
* Automated change: Fix sanity tests
* fix
* size tuning, fixes
* remove constexpr
* fix
* reuse code
* fix
* tweak code
* more tweaks
* tell no lies
* fixes
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix?
* fix binder
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Jan Tattermusch
ce74e092e6
add --log_metadata_and_status feature to interop_client ( #28021 )
3 years ago
Craig Tiller
de6ef448e4
Fix cronet tests ( #28189 )
3 years ago
Craig Tiller
46eae022cc
Remove unused override, and the static metadata that supports it ( #28193 )
3 years ago
Esun Kim
760a01337c
Added workaround for gcc 6.3.0 ( #28184 )
3 years ago
Craig Tiller
672f31c6ac
Channel args preconditioning ( #28132 )
...
* Channel args preconditioning
* docs
* fixes
* Automated change: Fix sanity tests
* fix
* fix this again after merge error
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
888a10d8a6
Reland arena based promises ( #28174 )
...
* Revert "Revert "Arena allocated promise (#28023 )" (#28171 )"
This reverts commit 9b07a81b1a
.
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
e5d0b95870
Revert "Introduce empty targets to ease the internal merge of #25586 ( #28122 )" ( #28172 )
...
This reverts commit 171c64eee2
.
3 years ago
Craig Tiller
9b07a81b1a
Revert "Arena allocated promise ( #28023 )" ( #28171 )
...
This reverts commit 77b4ade1a7
.
3 years ago
Vignesh Babu
78a4d21f9b
Api fuzzer overflow bug ( #28161 )
...
* fixing overflow error in api fuzzer
* fixing some sanity checks
* fix code style
3 years ago
Craig Tiller
86d119c8ab
Remove unused constants ( #28156 )
3 years ago
yihuaz
171c64eee2
Introduce empty targets to ease the internal merge of #25586 ( #28122 )
...
* add empty targets
* fix format error
* fix build format error
* address reviewer's comments
* fix test build rules
* remove server_auth_fiter from grpc_secure
3 years ago
Craig Tiller
77b4ade1a7
Arena allocated promise ( #28023 )
...
* Arena allocated promise
* finish
* Automated change: Fix sanity tests
* test
* Remove unused names
* fix
* older compiler fix
* fiiixes
* windows fixes?
* clangfmt
* fix windows?
* Document more
* fix destructors
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
0bdb4d650b
Revert "Revert "use CppImplOf for grpc_server ( #28112 )" ( #28130 )" ( #28144 )
...
This reverts commit eec0ca98c1
.
3 years ago