Mark D. Roth
f3419430df
WRR: port StaticStrideScheduler to OSS ( #31893 )
...
* WRR: port StaticStrideScheduler to OSS
* Automated change: Fix sanity tests
* fix build
* remove unused aliases
* fix another type mismatch
* remove unnecessary include
* move benchmarks to their own file, and don't run it on windows
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
b72da316bb
[cleanups] Remove `include/grpc/impl/codegen/slice.h` ( #31871 )
...
* Remove `include/grpc/impl/codegen/slice.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
b887534111
[cleanups] Remove `include/grpc/impl/codegen/propagation_bits.h` ( #31870 )
...
* Remove `include/grpc/impl/codegen/propagation_bits.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e28419f1f9
[cleanups] Remove `class CoreCodegen` and `g_core_codegen_interface` ( #31875 )
...
* Delete `g_core_codegen_interface`
* Automated change: Fix sanity tests
* Fix
* Update
2 years ago
Mark D. Roth
5192021637
Second attempt: xDS stateful session affinity: add config plumbing ( #31874 )
...
* Revert "Revert "xDS stateful session affinity: add config plumbing (#31827 )" (#31873 )"
This reverts commit 4f15d3dcf9
.
* fix build for compilers too dumb to recognize the full set of enum values
2 years ago
Cheng-Yu Chung
9a7e77318b
[cleanups] Remove `include/grpc/impl/codegen/grpc_types.h` ( #31835 )
...
* Remove `include/grpc/impl/codegen/grpc_types.h`
* Automated change: Fix sanity tests
* Fix typo
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
f03304b963
[cleanups] Remove functions in `class CoreCodegen` ( #31837 )
...
* Clean up `assert_fail()`
* Clean up `ok()` and `cancel()`
* Automated change: Fix sanity tests
2 years ago
Richard Belleville
4f15d3dcf9
Revert "xDS stateful session affinity: add config plumbing ( #31827 )" ( #31873 )
...
This reverts commit f76948b12d
.
2 years ago
Mark D. Roth
f76948b12d
xDS stateful session affinity: add config plumbing ( #31827 )
...
* WIP
* sanitize
* add endpoint tests
* add plumbing through LB policies
* clang-tidy
2 years ago
Cheng-Yu Chung
2e9e6439f8
Remove `include/grpc/impl/codegen/connectivity_state.h` ( #31728 )
...
* Remove `include/grpc/impl/codegen/connectivity_state.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
91083659fa
[promises] Cancellation callback ( #31863 )
...
* [promises] Cancellation callback
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Alisha Nanda
221d6b58d8
Add global structure of allocators + experiment ( #31807 )
...
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Automated change: Fix sanity tests
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
* Add more info to error
* Fix tests
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
* Updated experiments
* update formatting
* resolve conflict
* Address review comments
* Remove use of rand
* Automated change: Fix sanity tests
* Fix test errors
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Mark D. Roth
040617028c
Revert "Revert "xDS stateful session affinity: support xDS HTTP filter config ( #31793 )" ( #31821 )" ( #31823 )
...
This reverts commit 0fd59754b1
.
2 years ago
Cheng-Yu Chung
0d3fcb41ea
Revert "Move google_default channel_credentials out of `include/grpc/grpc_security.h` ( #31786 )" ( #31822 )
...
This reverts commit 3d59abc94e
.
2 years ago
AJ Heller
0fd59754b1
Revert "xDS stateful session affinity: support xDS HTTP filter config ( #31793 )" ( #31821 )
...
This reverts commit 7f054ffab0
.
2 years ago
Mark D. Roth
7f054ffab0
xDS stateful session affinity: support xDS HTTP filter config ( #31793 )
...
* stateful session affinity: implement filter
* register filter config parser
* fix unused parameter errors
* remove some FIXMEs that are not longer needed
* clang-tidy
* iwyu
* xDS stateful session affinity: support xDS HTTP filter config
* buildifier
* iwyu
* revert iwyu changes to observability_logging_sink.cc
* generate_projects
* generate_projects
* Automated change: Fix sanity tests
* fix build
* fix xds_http_filters_test
* add tests
* clang-format
* shorten filter name
* don't use absl::optional for path
* fix build
* don't add cookie to trailing metadata unless it's Trailers-Only
* fix sanity
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
5fe132a211
Revert "Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )" ( #31806 )
...
This reverts commit 39a4343044
.
Fixing forward the original PR. The content should be the same as the original PR. The broken part is in the internal.
2 years ago
Cheng-Yu Chung
3d59abc94e
Move google_default channel_credentials out of `include/grpc/grpc_security.h` ( #31786 )
2 years ago
Mark D. Roth
5e4d9f4bcf
xDS stateful session affinity: implement C-core filter ( #31788 )
...
* stateful session affinity: implement filter
* register filter config parser
* fix unused parameter errors
* remove some FIXMEs that are not longer needed
* clang-tidy
* iwyu
* iwyu
* revert iwyu changes to observability_logging_sink.cc
* generate_projects
* shorten filter name
* don't use absl::optional for path
* fix build
* don't add cookie to trailing metadata unless it's Trailers-Only
2 years ago
Cheng-Yu Chung
39a4343044
Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )
...
This reverts commit ac1dee8ac1
.
2 years ago
Cheng-Yu Chung
ac1dee8ac1
Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )
2 years ago
Eugene Ostroukhov
1e13612d4a
Introduce the xds_override_host policy ( #31730 )
...
Introduce the xds_override_host policy
2 years ago
Zhan Jiang
ec6d6025e5
security: Refactor some utility functions in TSI for better internal use ( #31736 )
...
security: Refactor some utility functions in TSI for better internal use
2 years ago
Cheng-Yu Chung
5498481265
Remove `include/grpcpp/impl/codegen/proto_utils.h` ( #31532 )
2 years ago
AJ Heller
557e558825
[EventEngine] WindowsEndpoint ( #31735 )
...
* [EventEngine] WindowsEndpoint
Initial sketch, all tests passing
* Port fix from #28432
* GPR_WINDOWS guard
* use MemoryAllocator::MakeReservation for allocated buffers
* better logging (respect slice length)
* Automated change: Fix sanity tests
* improvements
* Automated change: Fix sanity tests
* InlinedVector<WSABUF, kMaxWSABUFCount>
* initial attempt at socket util reunification
* posix fixes + local run of sanitize.sh
* posix socket includes
* fix
* Automated change: Fix sanity tests
* remove unused include (breaks windows)
* remove stale comment
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Mark D. Roth
808347ffe8
ServerConfigSelector: clean up API ( #31683 )
...
* ServerConfigSelector: clean up API
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
ddc5a62409
Revert "Add global structure of allocators + experiment ( #31614 )" ( #31759 )
...
This reverts commit 6754018dd1
.
2 years ago
Alisha Nanda
6754018dd1
Add global structure of allocators + experiment ( #31614 )
...
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Automated change: Fix sanity tests
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
c34d99fd9a
Remove `include/grpc/impl/codegen/compression_types.h` ( #31726 )
...
* Remove `include/grpc/impl/codegen/compression_types.h`
* Automated change: Fix sanity tests
2 years ago
Esun Kim
5fb4c2364d
Clean-up pkgconfig ( #31660 )
...
* Clean-up pkgconfig
* Removed run_distrib_test_cmake_module_install_pkgconfig.sh
* Proper re2
* Clean up pkgconfig.sh test script
2 years ago
Cheng-Yu Chung
e9b287997a
Remove `include/grpcpp/impl/codegen/sync.h` ( #31545 )
...
* Remove `include/grpcpp/impl/codegen/sync.h`
* Fix sanity tests
2 years ago
Cheng-Yu Chung
452d026b7d
Remove `include/grpcpp/impl/codegen/interceptor_common.h` ( #31530 )
...
* Remove `include/grpcpp/impl/codegen/interceptor_common.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
d5b285df95
Remove `include/grpcpp/impl/codegen/create_auth_context.h` ( #31359 )
...
* Remove `include/grpcpp/impl/codegen/create_auth_context.h`
* Update
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e83d69bdf2
Remove `include/grpcpp/impl/codegen/metadata_map.h` ( #31531 )
...
* Remove `include/grpcpp/impl/codegen/metadata_map.h`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
224c72b524
Remove `include/grpcpp/impl/codegen/server_interface.h` ( #31539 )
2 years ago
Cheng-Yu Chung
e7f9fb03f4
Remove `include/grpcpp/impl/codegen/server_callback_handlers.h` ( #31533 )
2 years ago
Cheng-Yu Chung
7e736c7a6b
Remove `include/grpcpp/impl/codegen/intercepted_channel.h` ( #31529 )
2 years ago
Cheng-Yu Chung
a02cc7d88a
Remove `include/grpcpp/impl/codegen/delegating_channel.h` ( #31495 )
...
* Remove `include/grpcpp/impl/codegen/delegating_channel.h`
* Update
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
405de7ac72
Remove `include/grpcpp/impl/codegen/status.h` ( #31285 )
...
* Remove `include/grpcpp/impl/codegen/status.h`
* Include removing status_code_enum
* Update
* Update
* Update zlib (#31356 ) (#31357 )
To mitigate CVE-2022-37434
* Update
Co-authored-by: Mikhail Lappo <miklelappo@users.noreply.github.com>
2 years ago
Craig Tiller
c545350633
Reland: [promises] Compression filter conversion ( #31686 )
...
* Revert "Revert "[promises] Compression filter conversion (#31204 )" (#31682 )"
This reverts commit fa31b36cb1
.
* fix?
* fix
2 years ago
Cheng-Yu Chung
c91c2fbd1a
Remove `include/grpcpp/impl/codegen/completion_queue_tag.h` ( #31320 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue_tag.h`
* Automated change: Fix sanity tests
2 years ago
Yijie Ma
b6f2af4682
Revert "security: Refactor some utility functions in TSI for better internal use ( #29728 )" ( #31687 )
...
This reverts commit 8984a264b8
.
2 years ago
Craig Tiller
fa31b36cb1
Revert "[promises] Compression filter conversion ( #31204 )" ( #31682 )
...
This reverts commit a8c983528a
.
2 years ago
github-actions[bot]
f5cc69b7cc
Automated change: Fix sanity tests ( #31678 )
...
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
2 years ago
Vignesh Babu
c5a66bb08d
Posix Event Engine listener implementation ( #31513 )
...
* Util functions to help with posix engine listener implementation
* sanity
* update comments in posix_engine_listener_utils.h
* review comments
* iwyu
* revert prev commit
* iwyu
* update build
* update
* regenerate projects
* regenerate projects
* minor fixes
* update BUILD
* sanity
* update build
* regenerate projects
* fix unused parameter
* sanity
* update
* sanity
* regenerate_projects
* remove unused variable
2 years ago
Mark D. Roth
64589d7ff3
xds resolver: fix edge cases in interactions between LDS and RDS ( #31668 )
...
* xds resolver: fix edge cases in interactions between LDS and RDS
* improve SwitchFromInlineRouteConfigToRds test
* clang-tidy
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Craig Tiller
a8c983528a
[promises] Compression filter conversion ( #31204 )
...
* Convert compress filter
* decompress sketch
* Automated change: Fix sanity tests
* progress
* progress
* got the new filter impls compiling
* Automated change: Fix sanity tests
* declare the bits
* allocate control types
* stub in pipe accessors
* init pipes
* send-path
* working through the state machines
* [arena] pool allocator
* add tests
* Automated change: Fix sanity tests
* better sizes
* iwyu
* Automated change: Fix sanity tests
* first pass cut fragments
* fix1
* fix
* Automated change: Fix sanity tests
* fix
* iwyu
* build-deps
* fix for windows
* fix
* fixes
* better-logs
* better-logs
* callpushpush-->tryconcurrently
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* logging improvements
* logging improvements
* fixes
* Automated change: Fix sanity tests
* respect flag
* handle eos
* cancel_after_client_done
* handle failed sends
* more error handling
* Automated change: Fix sanity tests
* more stuff
* remove unnecessary conversion
* hackity hack hack
* fixes
* progress
* Automated change: Fix sanity tests
* capture metadata from promise to recieve up
* spacing
* debug,fix
* not-used
* fix
* fix
* tune
* unify compress/decompress
* fixes
* send_message/send_trailing_metadata ordering
* cleanup loop
* remove minimal stack bits
* better error generation
* fix-build
* Automated change: Fix sanity tests
* cancellation of recv message for forwarded receives
* fix
* compile fix
* fix clobbering
* fix test, convert to gtest
* fix
* Automated change: Fix sanity tests
* cleanup
* fixes
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* add test
* Automated change: Fix sanity tests
* fix
* fix
* fix
* no need to store message per filter
* Automated change: Fix sanity tests
* danke yash
* iwyu
* clang-tidy
* Automated change: Fix sanity tests
* fix
* [promise] CallPushPull -> more general TryConcurrently
* Automated change: Fix sanity tests
* [promise] Introduce map_pipe, cleanup factories
* [promise] Promise based filter changes for messages
* [log] Longer space for filenames
* [test] Add some debugability affordances to async_end2end_test
* add comment
* Automated change: Fix sanity tests
* fix-merge
* fix-merge
* fix
* [chttp2] Fix a bug whereby trailers-only is not reported
We don't report trailers-only if the trailers are parsed prior to executing recv_initial_metadata
* comments
* fix for ruby
* review feedback
* merge
* fix
* Automated change: Fix sanity tests
* fix bm?
* re-add dropped flag
* turn on some traces to try and debug ruby
* debug for ruby problem
* proposed chttp2 fix
* Revert "turn on some traces to try and debug ruby"
This reverts commit 1bf3cfd552
.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Clément Péron
831d2a6855
Cmake add separate export for plugin targets ( #31525 )
...
* cmake: add separate export for plugin targets
Add a separate CMake export for the plugin targets to separate binaries
and libraries into their own CMake target export files. Skip the cross
compiled binary plugin targets during cross compile because they are not
usable and not always available.
The Yocto build system doesn't install cross compiled binaries into the
target sysroot. This makes the CMake gRPC config useless as it checks
the existent of binaries and fails without the binaries.
This is a strip down version of #22498 and related to #26148 and #26857 .
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
* regenerate cmake file
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Co-authored-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
2 years ago
Mark D. Roth
df80a31199
Second attempt: xDS RouteConfig: use ValidationErrors and add unit test ( #31658 )
...
* Revert "Revert "xDS RouteConfig: use ValidationErrors and add unit test (#31418 )" (#31653 )"
This reverts commit 335b74fea7
.
* use auto instead of explicitly naming the protobuf map type
2 years ago
Valentin
c45e4f003d
gRPC: Add grpc_authorization_provider to CMake ( #31308 )
...
* gRPC: Add grpc_authorization_provider to CMake
* Added _gRPC_RE2_LIBRARIES
* Added _gRPC_RE2_LIBRARIES
* Undo formattig
* Changed .template
* change commit message for CLA
2 years ago