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
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
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
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
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
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
ZhenLian
2e14f6fa70
Support Custom Post-handshake Verification in TlsCredentials ( #25631 )
...
* custom verification refactoring - post-handshake verification
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
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
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
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
Yash Tibrewal
e2c95fb4e5
Revert "Fix the bug ( #27899 )" ( #27910 )
...
This reverts commit 129cf5543e
.
3 years ago
Craig Tiller
7c7fb9e525
Avoid illegal shift ( #27837 )
...
* avoid illegal shift
* fix
3 years ago
Craig Tiller
129cf5543e
Fix the bug ( #27899 )
3 years ago
Craig Tiller
51dd7f44f1
Fix assert on unknown compression algorithm ( #27835 )
...
* Fix assert on unknown compression algorithm
* Rename crashy-crash-pants to crash-on-unknown-compression-algorithm
3 years ago
Craig Tiller
457103abc6
Give up on one vtable per type per process ( #27865 )
...
* Give up on one vtable per type per process
* fix
3 years ago
Craig Tiller
b81e675849
Fix memory leak in get code ( #27834 )
3 years ago
Craig Tiller
09658682c9
Remove condition that I dont remember why it exists ( #27836 )
3 years ago
Craig Tiller
1c885232e0
Reland te:trailers metadata change with fixes ( #27785 )
...
* Revert "Revert "Reland te: trailers metadata stuff (#27781 )" (#27784 )"
This reverts commit 33fff40174
.
* in which i admit defeat for this round
3 years ago
Craig Tiller
33fff40174
Revert "Reland te: trailers metadata stuff ( #27781 )" ( #27784 )
...
This reverts commit f5ab108ab7
.
3 years ago
Craig Tiller
f5ab108ab7
Reland te: trailers metadata stuff ( #27781 )
...
* Revert "Revert "Add metadata specialization for te: trailers (#27714 )" (#27779 )"
This reverts commit 2039cec4b1
.
* safer register call
3 years ago
Craig Tiller
998e9aef29
Fix API fuzzer bugs ( #27753 )
...
* api-fuzzer fixes, and a test case to verify
* squelch
* api-fuzzer full request works again
* fixes
* x
* Update api_fuzzer.cc
3 years ago
Esun Kim
e246811e55
Add (void) to function calls returning absl::Status ( #27761 )
3 years ago
Craig Tiller
2039cec4b1
Revert "Add metadata specialization for te: trailers ( #27714 )" ( #27779 )
...
This reverts commit 7cded136b7
.
3 years ago
Craig Tiller
7cded136b7
Add metadata specialization for te: trailers ( #27714 )
...
* Add metadata specialization for te: trailers
* remove the evidence
* update microbenchmarks
* ugh
* cleanup copy code
* fix asan detected leak
* Automated change: Fix sanity tests
* append
* binder
* fix-cronet
* inproc fixes
* Automated change: Fix sanity tests
* convert cronet encode path
* fixes
* fixes
* review feedback
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
3b6056aed8
Zalloc or C++ new for structs ( #27739 )
3 years ago
Craig Tiller
b9265ab91d
Remove errant std::move in creds code ( #27751 )
...
* remove move
* add test case
3 years ago
Craig Tiller
a0e2881674
Mark channel credentials channel arg as internal ( #27752 )
...
* Mark channel credentials channel arg as internal
* add reproducer
3 years ago
Craig Tiller
98cf516874
Remove old backwards compatibility cronet compression workaround code ( #27701 )
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
Craig Tiller
ee47e08f71
Deal with some namespacing issues ( #27651 )
3 years ago
AJ Heller
b8e01f73a0
Revert "Revert "Revert "File watcher authorization policy provider implementation"" ( #27605 )" ( #27644 )
...
This reverts commit 5912aedb2b
.
3 years ago
Esun Kim
ec4c61a3ae
Various fixes on absl::Status migration ( #27557 )
3 years ago
Craig Tiller
76dd0474e4
Upgrade API fuzzer to be a proto based structural fuzzer ( #27564 )
...
* start cleaning up
* progress
* Automated change: Fix sanity tests
* progress
* Automated change: Fix sanity tests
* progress
* get this running again
* Automated change: Fix sanity tests
* ugh
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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