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
Yash Tibrewal
25446c468a
Support RDS updates on the server ( #27851 )
...
* Port changes from #27388
* Reviewer comments
* Fix resource timeout issue
* Cleanup
* Fix clang-tidy
* Revert benchmark
* Restructure
* clang-tidy
* Automated change: Fix sanity tests
* Partial commit
* Reviewer comments
* Fixes
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* clang-format
* Fix FaultInjection tests
* clang-tidy
Co-authored-by: yashykt <yashykt@users.noreply.github.com>
3 years ago
Esun Kim
11f440775b
Fix xds_end2end_test dyld ( #28133 )
3 years ago
Mark D. Roth
eec0ca98c1
Revert "use CppImplOf for grpc_server ( #28112 )" ( #28130 )
...
This reverts commit 2ea8e50c3a
.
3 years ago
Craig Tiller
4573ee8491
Add missing exec ctx to public api ( #28134 )
3 years ago
Vignesh Babu
4dd0bba12e
Revert "Revert "Api fuzzer extensions to support simulating traffic congestion ( #27820 )" ( #27973 )" ( #27974 )
...
* Revert "Revert "Api fuzzer extensions to support simulating traffic congestion (#27820 )" (#27973 )"
This reverts commit 879f97ef70
.
* updating passthru_endpoint file to fix windows breakages
* Automated change: Fix sanity tests
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
3 years ago
Craig Tiller
0794973bbb
Reland user-agent metadata work ( #28109 )
...
* Revert "Revert "user-agent metadata trait, also: grpc_core::Slice is born (#27770 )" (#28108 )"
This reverts commit 89d08dad9d
.
* will it blend
* will it blend
* will it blend
* lcnagfmt
* sanity
* will it blend
* sleep @ end
* will it blend
* Revert "sleep @ end"
This reverts commit d6bca8ed3d
.
* review feedback
* review feedback
3 years ago
Craig Tiller
98276d8b46
Guard against duplicate ops in the same batch ( #28118 )
...
* Guard against duplicate ops in the same batch
* add test
* add fuzzer example
* better name
3 years ago
Mark D. Roth
1050eedb87
enable clang-tidy readability-static-definition-in-anonymous-namespace check ( #28033 )
3 years ago
Mark D. Roth
2ea8e50c3a
use CppImplOf for grpc_server ( #28112 )
...
* use CppImplOf for grpc_server
* fix build
* fix sanity
3 years ago
Jan Tattermusch
89d08dad9d
Revert "user-agent metadata trait, also: grpc_core::Slice is born ( #27770 )" ( #28108 )
...
This reverts commit 7a40f50cb3
.
3 years ago
Craig Tiller
7a40f50cb3
user-agent metadata trait, also: grpc_core::Slice is born ( #27770 )
...
* new slice api
* storage-classes
* Automated change: Fix sanity tests
* tweaks
* refinement
* refinement
* compiles
* Automated change: Fix sanity tests
* better impl
* convert to gtest
* clean
* fixes
* tests
* Automated change: Fix sanity tests
* more-tests
* clarity
* comments
* comments
* fixes
* comment-updates
* fixes
* spam
* Automated change: Fix sanity tests
* move transport size into transport!
* mebbefix
* fix type
* x
* fix-merge
* review feedback
* review feedback
* Automated change: Fix sanity tests
* meh
* review feedback
* fix
* resolve compile issue
* Remove slice_refcount dependency on RefCounted
* update init for channel_data in http_client_filter
* Automated change: Fix sanity tests
* remove banned function
* fixes
* will it blend
* will it blend
* fix refcount init
* fix
* fix comment
* Fix typo in bloat script
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
6af45a35ba
Tooling to remove redundant grpc_core:: namespace references ( #28030 )
...
* Tooling to remove redundant grpc_core:: namespaces
These references tend to show up in our C++ code after C modules get
converted. Many get caught in review, many get missed.
* use it
* clang-format
3 years ago
Mark D. Roth
fff84402ac
Second attempt: XdsClient: fix resource timeout behavior ( #28088 )
...
* Revert "Revert "XdsClient: fix resource timeout behavior (#27860 )" (#28032 )"
This reverts commit 817eed0928
.
* use the right status code enum
3 years ago
Craig Tiller
48323d8ea6
Ensure JSON parser can consume dumped JSON ( #27994 )
...
* Ensure JSON parser can consume dumped JSON
* fixes
* fixes
* Update fuzzer.cc
3 years ago
Craig Tiller
ea49e4c73a
Revert "[BinderTransport] Send correct version to server and verify it ( #27990 )" ( #28090 )
...
This reverts commit 92c34b8a82
.
3 years ago
Craig Tiller
a629c9a03e
Reland resource quota work ( #28017 )
...
* Check if memory owner available prior to polling it
The transport may drop the memory owner during its destruction sequence
* tcp_fix
* Revert "Revert "New resource quota integration (#27643 )" (#28014 )"
This reverts commit 0ea2c37263
.
* clang-format
* fix-path
* fix
3 years ago
Ming-Chuan
92c34b8a82
[BinderTransport] Send correct version to server and verify it ( #27990 )
...
We support wireformat version 1.
3 years ago
Craig Tiller
817eed0928
Revert "XdsClient: fix resource timeout behavior ( #27860 )" ( #28032 )
...
This reverts commit 7fdb40d8b8
.
3 years ago
Craig Tiller
1d63bb02b7
AVL implementation in C++ ( #27782 )
...
* avl
* move-code,add-fuzzer
* done
* fix
* Automated change: Fix sanity tests
* buildifier
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
7fdb40d8b8
XdsClient: fix resource timeout behavior ( #27860 )
...
* XdsClient: fix resource timeout behavior
* fix clang-tidy
* more clang-tidy fixes
* yet more clang-tidy
3 years ago
Craig Tiller
b690bd011f
Allow API fuzzer to send multiple slices ( #27993 )
...
* Allow API fuzzer to send multiple slices
* fixes
3 years ago
Craig Tiller
0ea2c37263
Revert "New resource quota integration ( #27643 )" ( #28014 )
...
This reverts commit 39f0877d25
.
3 years ago
Craig Tiller
39f0877d25
New resource quota integration ( #27643 )
...
* 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
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
75a54f55e3
Remove trickle benchmarks ( #28000 )
...
* Remove trickle benchmarks
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
ZhenLian
2e14f6fa70
Support Custom Post-handshake Verification in TlsCredentials ( #25631 )
...
* custom verification refactoring - post-handshake verification
3 years ago
AJ Heller
b7d4569d34
Rename the source files for ChannelArgsEndpointConfig ( #27972 )
...
* Rename the source files for ChannelArgsEndpointConfig
Previous naming was non-descript
* generate_projects
* add missing file to BUILD, and generate_projects.sh
* correct include guards
3 years ago
AJ Heller
39adc01a57
Reintroduce the EventEngine default factory ( #27920 )
...
* Reintroduce the EventEngine default factory
An application can provide an EventEngine factory function that allows
gRPC internals to create EventEngines as needed. This factory would be
used when no EventEngine is provided for some given channel or server,
and where an EventEngine otherwise could not be provided by the
application. Note that there currently is no API to provide an
EventEngine per channel or per server.
I've also deleted some previous iterations on global EventEngine and
EventEngine factory ideas. This new code lives in a public API, and
coexists with iomgr instead of being isolated to an EventEngine-specific
iomgr implementation.
* add proper namespaces, and fix description
* put factory functions in their own file (for replaceability)
* add synchronization
* generate_projects.sh
* extract event_engine_base and event_engine_factory targets
Also separate iomgr/event_engine files in the BUILD, with comments
* gpr_platform
* move all EE factory declarations to event_engine_base
Makes internal hackery easier.
* add missing deps
* reorder dep alphabetically
* comment style change
3 years ago
Vignesh Babu
879f97ef70
Revert "Api fuzzer extensions to support simulating traffic congestion ( #27820 )" ( #27973 )
...
This reverts commit c1089d2964
.
3 years ago
Vignesh Babu
c1089d2964
Api fuzzer extensions to support simulating traffic congestion ( #27820 )
...
* adding api_fuzzer changes
* adding api fuzzer changes
* updating some typos
* updating api_fuzzer and corpus entries
* updating api_fuzzer to fix crash due to two successive receive_op batches
* adding some reverted fixes to api_fuzzer.cc
* updating api_fuzzer and corpus as per initial comments
* fix some typos
* fix memory leaks and timeout issues
* adding some comments and removing debug strings
* updating api_fuzzer to remove previous edits to always add recv initial metadata ops for client calls
* updating passthru endpoint to account for erroneous initialization when channel effects are not simulated
* tidying up code
3 years ago
Mark D. Roth
7541a3acda
fix LB policy call status notification interface, and other improvements ( #27947 )
...
* fix LB policy call status notification interface, and other improvements
* fix build
* address review comments
3 years ago
AJ Heller
c79cdc0ae8
Add support for abstract unix domain sockets ( #27906 )
...
* Add failing end2end test for inconsistent percent-decoding of URIs
* Add passing h2_local_abstract_uds end2end tests
* null-safe string_view
* mac doesn't UDS
* mac doesn't do *abstract* UDS
3 years ago
Yash Tibrewal
00e8a2d085
xds_end2end_test: Only start backends when needed ( #27911 )
...
* xds_end2end_test: Fix flakiness on WaitForLdsNack
* xds_end2end_test: Only start the server when we want
* Revert WaitForNack changes
* Fixes
* Fix CsdsShortAdsTimeoutTest
* Fix sanity
3 years ago
Yash Tibrewal
8ac0def897
Add Schedule and DrainQueue to WorkSerializer ( #27902 )
...
* Add Schedule and DrainQueue to WorkSerializer
* Fix comments
* Reviewer comments
* Use acq_rel semantics instead of seq_cst
* Reviewer comments
* s/dummy/no-op
* Reviewer comments
* Fix
* Reviewer comments
* Reviewer comments
3 years ago
Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Mark D. Roth
e251ee9ffb
disable authorization_policy_provider_test on iOS ( #27927 )
3 years ago
Craig Tiller
a594d0aa1e
Reland call state cleanup fix ( #27914 )
...
* Revert "Revert "Fix the bug (#27899 )" (#27910 )"
This reverts commit e2c95fb4e5
.
* fix-msan-maybe
3 years ago