Hannah Shi
5acc4c40a1
podfile cleanup ( #27609 )
3 years ago
Mark D. Roth
1d765b28f0
clean up subchannel logging ( #27661 )
3 years ago
Mayuki Sawatari
ee5a685111
Fix link error when building with Xamarin.iOS ( #27345 )
3 years ago
Yash Tibrewal
5e69ded6f5
XdsApi cleanup: Remove unused field ( #27664 )
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
Mark D. Roth
0f050e6f7a
clean up ServiceConfigCallData API ( #27642 )
3 years ago
Craig Tiller
3dc5528c50
Fix fuzzer found null-deref in memory_quota ( #27648 )
3 years ago
Craig Tiller
8d8d07139c
Fix client idle filter ( #27611 )
...
* trial-change
* compiles!
* added test
* Automated change: Fix sanity tests
* update test
* Fix slow idle detection
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
016ef6cede
Change reclaimer function signature ( #27649 )
...
* Fix fuzzer found leak in memory_quota
* Make reclamation functions know about cancellation
* fixes
* fix race
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Ming-Chuan
f58f903a4f
Add helper function for getting endpoint binder in Java ( #27598 )
...
Also update the server side URI scheme to use path instead of authority
See gRFC L85-core-binder-transport.md for more details
3 years ago
AJ Heller
b8e01f73a0
Revert "Revert "Revert "File watcher authorization policy provider implementation"" ( #27605 )" ( #27644 )
...
This reverts commit 5912aedb2b
.
3 years ago
Denny C. Dai
b7b1ada924
Libuv pod and event engine core test suite setup for iOS/ObjC ( #27563 )
...
* Add podspec for libuv-grpc
* iOS Core test pod setup
3 years ago
Esun Kim
ec4c61a3ae
Various fixes on absl::Status migration ( #27557 )
3 years ago
Lidi Zheng
60028a82a9
[Aio] Resolve deprecated warnings from asyncio ( #27635 )
...
* [Aio] Resolve deprecated warnings from asyncio
* Use 3.6 compatible way of creating an asyncio.Task
3 years ago
Richard Belleville
7aa43b7a55
Create Bazel gevent test harness ( #27507 )
...
* WIP
* Add gevent test suite run under Bazel.
* Fix things up
* Yapf
* Fix up Bazel files
* Make py_grpc_test fancier
* Attempt to fix Windows RBE
* Attempt to kick GitHub
* Fix Python 2 runs
* Yet more fixes
* And the patch file too
* I am an idiot
* Mark gevent tests flaky
* Try to make rules_python more tolerant
* Typo
* Exclude reconnect test from gevent
* Remove unnecessary parts of patch
* Buildifier
* You saw nothing
* isort
* Move py_grpc_test to an internal-only file
* Review comments
* More reviewer comments
* Review
3 years ago
Mark D. Roth
cb8dafa248
pass health check service name through LB policies via a channel arg ( #26441 )
...
* grab connected subchannel in the data plane
* don't return connected subchannel via state watch
* fix build
* fix build
* pass health check service name through LB policies via a channel arg
* fix build
* clang-format
* add trace log
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
Ashitha Santhosh
aac71ae802
Add logs containing request details to authorization. ( #27553 )
...
* Add debug logs
3 years ago
Craig Tiller
79ef60f079
Integrate new resource quota, event engine ( #27522 )
...
* Integrate new resource quota, event engine
* Automated change: Fix sanity tests
* windows fix
* Automated change: Fix sanity tests
* Update memory_allocator.h
* Automated change: Fix sanity tests
* first round review feedback
* review feedback
* Automated change: Fix sanity tests
* Update memory_quota.h
* get re-export formatted right
* Automated change: Fix sanity tests
* Update memory_allocator.cc
* Automated change: Fix sanity tests
* MemoryOwner has-a MemoryAllocator
* using fix
* review feedback
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
3d83dd3776
Revert "Revert "centralize handling of channel's default authority ( #27544 )" ( #27616 )" ( #27624 )
...
This reverts commit 0611f7c9b3
.
3 years ago
Mark D. Roth
f504f69648
grab connected subchannel in the data plane ( #26428 )
...
* grab connected subchannel in the data plane
* don't return connected subchannel via state watch
* fix build
* fix build
* add trace log
3 years ago
Esun Kim
c56b0a3818
Update boringssl to the latest ( #27606 )
...
* Change boringssl branch name
* update submodule boringssl-with-bazel with origin/main-with-bazel
* update boringssl dependency to main-with-bazel commit SHA
* regenerate files
* Increment podspec version
* generate boringssl prefix headers
3 years ago
Ming-Chuan
332713a35a
Implement BinderTransport SecurityPolicies that requires no JNI ( #27573 )
...
This commit
1. Implements the security policies that does not require JNI. This
includes a security policy that always allow connection and a security
policy that allows connection when remote UID is the same us local UID.
2. Add security policy as an argument in our interfaces. Old interfaces
are temporarily preserved so compilation will not suddenly break when we
import the code to internal repo.
3. Pumping the security policy from the public interfaces to the code
that handles SETUP_TRANSPORT transaction.
4. Abort the transport setup when the security policy is not satisfied.
Since meaningful tests will require to be run in real Android
environment, we will implement it later. For now, this change is
manually tested with example APKs.
For security policies that need to invoke Java to check authorization,
we will implement them in later.
3 years ago
Craig Tiller
84f61e1e89
Split JSON lib into its own target ( #27594 )
...
* Revert "Revert "Try moving promises build config out of root (#27400 )" (#27504 )"
This reverts commit f0fc72f2a4
.
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* merge with other changes
* Split json library into its own target
* Automated change: Fix sanity tests
* Update BUILD
* Move json stuff to root BUILD
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
Mark D. Roth
0611f7c9b3
Revert "centralize handling of channel's default authority ( #27544 )" ( #27616 )
...
This reverts commit f0a0628795
.
3 years ago
Craig Tiller
7d2f9c842c
Revert "Reland moving promises build config out of root ( #27561 )" ( #27610 )
...
This reverts commit 391f2fc2c7
.
3 years ago
Mark D. Roth
f0a0628795
centralize handling of channel's default authority ( #27544 )
...
* centralize handling of channel's default authority
* clang-format
* fix backup poller bug
3 years ago
Craig Tiller
851517078f
Fix fuzzer found bug in chunked vector ( #27566 )
...
* Fix fuzzer found bug in chunked vector
* Update chunked_vector.h
3 years ago
Craig Tiller
391f2fc2c7
Reland moving promises build config out of root ( #27561 )
...
* Revert "Revert "Try moving promises build config out of root (#27400 )" (#27504 )"
This reverts commit f0fc72f2a4
.
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* merge with other changes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
a1ad74f7af
Revert "File watcher authorization policy provider implementation ( #26779 )" ( #27591 )
...
This reverts commit 310accd077
.
3 years ago
AJ Heller
f5b3a49af6
Describe support-levels for undocumented supported platforms ( #27363 )
...
Quite a few platforms were missing from this list. No new support is
being added, this PR just documents the current state of affairs.
3 years ago
Craig Tiller
be65f0bf1e
Dont crash if channelz not initialized ( #27435 )
...
* Dont crash if channelz not initialized
* Automated change: Fix sanity tests
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Ashitha Santhosh
310accd077
File watcher authorization policy provider implementation ( #26779 )
...
* File watcher authorization policy provider implementation
3 years ago
Craig Tiller
1619945281
Promises fuzzer ( #27406 )
...
* Add a dependency on libprotobuf-mutator
* Changes for structured fuzzing
* fuzznificent
* add a config that will build fuzzers
* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!
* fixes
* promise fuzzer
* progress
* Automated change: Fix sanity tests
* Initial promise fuzzer
* better factoring
* misc improvements
* Initial promise fuzzer
* Automated change: Fix sanity tests
* enhancements
* fix
* Automated change: Fix sanity tests
* clang-tidy fix
* bad merge
* Update BUILD
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ef5c269241
Fix fuzzer found bugs ( #27562 )
3 years ago
Craig Tiller
79097afb56
Standardize on grpc/support/port_platform.h usage in src/core/... ( #27568 )
3 years ago
Yash Tibrewal
36b0e06e20
OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch ( #27523 )
...
* OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch
* Reviewer comments
3 years ago
Esun Kim
1c6634ac44
Changed grpc_error_get|set_str to use std string instead of slice ( #27466 )
...
* Changed grpc_error_get|set_str to use std string
* Fix init order in tests with gtest
* Undo gtest-tify credentials_test
3 years ago
Mark D. Roth
03a51fa9d1
don't create secure endpoint if TSI implementation does not require it ( #27509 )
...
* don't create secure endpoint if security level is TSI_SECURITY_NONE
* instead of depending on security level, add a method to tsi_handshaker_result
* clang-format
* fix build
* fix build for realz
* code review changes
* update comments
3 years ago
Ming-Chuan
b16557b573
Assert binder is not null when creating binder transport ( #27527 )
3 years ago
Craig Tiller
253d7076fc
Chunked vector type ( #27517 )
...
* chunked vector type
* Automated change: Fix sanity tests
* compile fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Denny C. Dai
9870583cea
Revert "[objc] Switch to forward declare proto & clean up ( #27444 )" ( #27521 )
...
This reverts commit 4ad495420f
.
3 years ago
Denny C. Dai
251274022c
Revert "Revert "[objc] Turn on error exit in cocoapod pre-install ( #27474 )" ( #27497 )" ( #27500 )
...
This reverts commit 044253e5bd
.
3 years ago
Ben Beasley
bef9085840
In src/core/lib/promise/detail/basic_seq.h, include cassert ( #27516 )
...
It is needed for assert(…).
3 years ago
donnadionne
e244812a43
Remove channelz linkage. ( #27514 )
...
* Remove channelz linkage.
* one more removal.
3 years ago
Craig Tiller
82c99362b5
Rewrite memory quota management in C++ with Promises library ( #27327 )
...
* first pass new memory quota
* forget the ee stuff - it should be a wrapper on top
* beginning to finalize
* compiles
* basic tests pass
* fixes
* Automated change: Fix sanity tests
* merge
* Automated change: Fix sanity tests
* add rebind test
* flesh out the rest
* Automated change: Fix sanity tests
* add increase
* prog
* Automated change: Fix sanity tests
* allow cancellation during run
* fixes
* clang-format
* better allocation strategy
* better allocation strategy
* Automated change: Fix sanity tests
* Update memory_quota.cc
* format
* better comment
* remove block size - this is probably unnecessary complexity
* fmt
* cleanup
* size_t
* Automated change: Fix sanity tests
* fixes
* move makeslice into memoryallocator
* move makeslice into memoryallocator
* add container allocator, tests
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* add some docs
* Automated change: Fix sanity tests
* fix doc
* comment vector
* Automated change: Fix sanity tests
* fixes
* ditch the thread
* exec_ctx integration
* Automated change: Fix sanity tests
* progress!
* fuzzer
* initial_corpora
* Automated change: Fix sanity tests
* bigger_objects
* better-fuzzer
* add stress test
* Automated change: Fix sanity tests
* Remove unused header
* Iwyu
* Automated change: Fix sanity tests
* Portability fix, comment
* Fix unused arg
* Remove unused names
* Removed unused name
* Automated change: Fix sanity tests
* windows
* Automated change: Fix sanity tests
* cleanup
* fix-mac
* cleanup, eliminate atomicbarrier
* exclude some platforms
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
bed585bdcb
fix memory leak ( #27510 )
3 years ago
Mark D. Roth
f48119619e
Fix local TSI impl to pass along unused bytes ( #27508 )
...
* try insecure creds in proxy case
* revert server-side changes
* fix local transport security to pass along unused bytes
* fix security handshaker to check the result of TSI get_unused_bytes()
* fix local TSI impl get_unused_bytes() to check its params
* clang-format
Co-authored-by: yihuaz <yihuaz@google.com>
3 years ago
Lidi Zheng
9978223a26
Add python_requires field to grpcio-* packages ( #27495 )
...
- Update the run_tests.py and distrib tests
- Update the Dockerfiles
3 years ago