Vignesh Babu
5680a9b57b
Move posix event engine to new interface defined in #31816 ( #31890 )
...
* update
* regenerate projects
* fix sanity
* review comments
* An EventEngine subclass to be implemented by all posix based event engines
* sanity
* comments
* update
* review comments
* re-word
* fix
* update
* review comments
* regenerate projects
* syntax fix
* add lock free event benchmark
* releasable mutex lock
* fix build isue
* update
* start
* regenerate projects
* update
* fix
* windows build
* update
* windows portability issue
* update
* update
* format
* update
* update
* update
* fix sanity
* regenerate projects
* update
* iwyu
* fix
* fix
* update
* fix sanity
* review comments
2 years ago
Eugene Ostroukhov
73fa138432
xds_override_host LB: move XdsOverrideHostLbConfig to `internal` namespace ( #32061 )
2 years ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
b0d7131ab3
WRR: plumb qps in backend metric data ( #31903 )
...
* plumb qps in backend metric data
* pull in updated orca proto
* gen_upb_api
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Andres Beltran
2904ee8fd3
Add support for systemd socket activation ( #31667 )
...
* Revert "Revert "Add support for systemd socket activation (#30485 )" (#31617 )"
This reverts commit 867dc6cae2
.
* Add checks to unix tests
* Ran generate_projects.sh and fixed styling in test
* Fix variable in unit test
* Use reinterpret_cast in test
* Rebase and fix sanity failures
2 years ago
AJ Heller
2c4d55b3a1
Revert "Revert "Revert "WindowsEventEngine Client implementation ( #31848 )" (#… ( #31974 )" ( #32018 )
...
This reverts commit aa83319695
.
2 years ago
AJ Heller
aa83319695
Revert "Revert "WindowsEventEngine Client implementation ( #31848 )" (#… ( #31974 )
...
* Revert "Revert "WindowsEventEngine Client implementation (#31848 )" (#31965 )"
This reverts commit 58ad7950a0
.
* iwyu & visibility
2 years ago
AJ Heller
58ad7950a0
Revert "WindowsEventEngine Client implementation ( #31848 )" ( #31965 )
...
This reverts commit bc7e155e55
.
2 years ago
Eugene Ostroukhov
878a0ea6c2
xds_override_host LB: add basic support for overriding host ( #31954 )
...
This is same as #31819 but with fixed compilation issues.
2 years ago
Eugene Ostroukhov
60e4aea792
Revert "xds_override_host LB: add basic support for overriding host ( #31819 )" ( #31948 )
...
This reverts commit a500a74c6c
.
2 years ago
Eugene Ostroukhov
a500a74c6c
xds_override_host LB: add basic support for overriding host ( #31819 )
...
Implement picking the subchannel by address if the address is provided to a policy.
Co-authored-by: Mark D. Roth <roth@google.com>
2 years ago
AJ Heller
bc7e155e55
WindowsEventEngine Client implementation ( #31848 )
...
* rename task-handle mutex
* rename TimerClosure
* tmp commit, building, not tested
* add test for client connection to a non-listening port
* fix posix EE tests
* re-fix windows test suite after posix compatibility
* (unfinished, backup): passing the suite's NonExistingListener client test
* remove redundant windows client test
* integrate IOCP worker loop
* initial commit of echo test tool; fixes
* move echo client to test_suite/tools; I do not yet like the setup, it's about time for a macro that generates all useful test/tool targets
* cleanup
* add --target arg to echo_client. requires URI
* Automated change: Fix sanity tests
* build fixes
* fix
* fix
* reviewer feedback
* warning fix
* delete logic on cancellation
* fix
* cancel connect deadlock; improved template code
* fix build failure with linux environments building windows targets
* fix
* fix
* no ++ for atomics
* remove the test changes, to be landed separately
* Automated change: Fix sanity tests
* remnants
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Craig Tiller
49a3035d44
[iwyu] Fix CI job ( #31921 )
...
* fix-includes
* fix
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* add warning label
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
1b05576aa3
[cleanups] Clean up `GrpcLibraryInitializer` ( #31894 )
...
* Clean up `GrpcLibraryInitializer`
* Update
* 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
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
Craig Tiller
a6843d4659
[promises] Convert client load reporting to promises ( #31854 )
...
* [promises] Convert client load reporting to promises
* fix
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@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
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
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
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
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
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
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
Zhan Jiang
8984a264b8
security: Refactor some utility functions in TSI for better internal use ( #29728 )
2 years ago
Cheng-Yu Chung
47b9a57de9
Remove `g_glip` and `class GrpcLibraryInterface` ( #30414 )
...
* Remove `g_glip` and `class GrpcLibraryInterface`
* Update
* Update
* Update
* Automated change: Fix sanity tests (#20 )
* Update
* Update
* Update
* Test
* Fix
* Revert "Test"
This reverts commit 2f5c77e98d
.
* More fix
* More fix
* More fix
* Minor fix
* Revert "Minor fix"
This reverts commit 1ee3ae4da1
.
* Revert "More fix"
This reverts commit 1fc234896b
.
* Revert "More fix"
This reverts commit 851393c0e6
.
* Revert "More fix"
This reverts commit ed342a51d0
.
* Revert "Fix"
This reverts commit 286ad8e639
.
2 years ago
Craig Tiller
a116fa7e25
Revert "Revert "[chaotic-good] Reland basic frame serialization (#316… ( #31637 )
...
* Revert "Revert "[chaotic-good] Reland basic frame serialization (#31631 )" (#31635 )"
This reverts commit 4e2b936e88
.
* windows fix?
2 years ago
Craig Tiller
4e2b936e88
Revert "[chaotic-good] Reland basic frame serialization ( #31631 )" ( #31635 )
...
This reverts commit 571e98f6d5
.
2 years ago
Craig Tiller
571e98f6d5
[chaotic-good] Reland basic frame serialization ( #31631 )
...
* Revert "Revert "[chaotic-good] Basic frame serialization/deserialization (#31257 )" (#31630 )"
This reverts commit e8ac147311
.
* fix build
2 years ago
Craig Tiller
e8ac147311
Revert "[chaotic-good] Basic frame serialization/deserialization ( #31257 )" ( #31630 )
...
This reverts commit 8185a56322
.
2 years ago
Craig Tiller
8185a56322
[chaotic-good] Basic frame serialization/deserialization ( #31257 )
...
* [chaotic-good] initial sketch of frame serialization
* Automated change: Fix sanity tests
* tinkering
* fix up
* add tests,fuzzers
* more tests
* fix
* fuzzers
* Automated change: Fix sanity tests
* fix-build
* Automated change: Fix sanity tests
* fix inf loop
* fix refcounting bug
* fixdeps
* fix
* fix continuations
* iwyu
* fix build
* fix
* build fixes
* better split
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* iwyu
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
867dc6cae2
Revert "Add support for systemd socket activation ( #30485 )" ( #31617 )
...
This reverts commit a638c407bb
.
2 years ago
Richard Belleville
51f296b4f8
Bump master branch to 1.52.0-dev (gribkoff) ( #31618 )
...
* bump version to 1.52.0-dev
* regenerate projects
2 years ago