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
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
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
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
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
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
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
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
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
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
Craig Tiller
b690bd011f
Allow API fuzzer to send multiple slices ( #27993 )
...
* Allow API fuzzer to send multiple slices
* fixes
3 years ago