Esun Kim
250f9fc026
Revived google-readability-casting ( #31607 )
...
* Added google-readability-casting
* Fix
* Use brace init for constants
* more
* Fix
* Fix 2
* More fix
* Fixf
2 years ago
Yijie Ma
5a131bd94b
EventEngine::RunAfter: handshaker ( #31564 )
...
* EventEngine::RunAfter migration for handshaker
* Fix build and add execution contexts to the top of the timer function
stack
* Add event_engine_ member object, remove OnTimeoutFn and self.reset()
before goes out of scope
* Run iwyu and fix_build_deps.py
* fix: more cleanup
* fix: restore unrelated files
* fix: run tools/distrib/clang_format_code.sh
* re: pass EventEngine as shared_ptr to HandshakeManager
* fix: ran tools/distrib/sanitize.sh
* fix: resolve review comment to initialize event_engine_ from the channel
args passed in DoHandshake instead of passing through constructor
* sanitize
* fix: resolve comments
* fix: one more
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
Esun Kim
42c2767c19
Revert "Bump v1.51.x to 1.51.0-pre1 ( #31620 )" ( #31621 )
...
This reverts commit bae9dd79aa
.
2 years ago
Richard Belleville
bae9dd79aa
Bump v1.51.x to 1.51.0-pre1 ( #31620 )
...
* bump version to 1.51.0-pre1
* regenerate projects
2 years ago
Vignesh Babu
73ea66d8ee
A http2 setting to ensure safe rollout of tcp receive buffer auto-sizing and peer-state based framing experiments ( #31404 )
...
* A http2 setting to ensure safe rollout of tcp receive buffer auto-sizing and peer-state based framing experiments
* fix comments + sanity + iwyu
* comments
* update per comments
* comments
* iwyu
* address comments
* remove if check
2 years ago
Esun Kim
8696d49e23
Added version macros ( #31033 )
2 years ago
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2 years ago
Cheng-Yu Chung
37c6662919
Remove `include/grpcpp/impl/codegen/callback_common.h` ( #31311 )
...
* Remove `include/grpcpp/impl/codegen/callback_common.h`
* Update
2 years ago
Cheng-Yu Chung
08ee2a3487
Remove `include/grpcpp/impl/codegen/call_op_set.h` ( #31310 )
2 years ago
Cheng-Yu Chung
e60140676a
Remove `include/grpcpp/impl/codegen/channel_interface.h` ( #31312 )
...
* Remove `include/grpcpp/impl/codegen/channel_interface.h`
* Update
2 years ago
Cheng-Yu Chung
d6a050842a
Revert "Revert "Remove `include/grpcpp/impl/codegen/rpc_service_method.h` ( #31277 )" ( #31317 )" ( #31322 )
...
This reverts commit 8b8fcfdd0b
.
2 years ago
Mark D. Roth
447a058837
xDS: remove deprecated C++ APIs in the experimental namespace ( #31451 )
2 years ago
Cheng-Yu Chung
9143627664
Remove `include/grpcpp/impl/codegen/security/auth_context.h` ( #31292 )
2 years ago
Cheng-Yu Chung
c65348879a
Remove `include/grpcpp/impl/codegen/time.h` ( #31290 )
2 years ago
Cheng-Yu Chung
493b961dfb
Remove `include/grpcpp/impl/codegen/sync_stream.h` ( #31289 )
2 years ago
Cheng-Yu Chung
f4b25ab837
Remove `include/grpcpp/impl/codegen/stub_options.h` ( #31287 )
2 years ago
Yash Tibrewal
3b6675c2de
OpenCensus: Move measures, views and CensusContext to include file ( #31341 )
...
* OpenCensus: Move measure and view declarations to include file
* Move CensusContext class too
* Fix IWYU
* Guard with experimental
* Formatting
* clang tidy fixes
* cleanup
* Reviewer comments
2 years ago
Cheng-Yu Chung
34b1633944
Remove `include/grpcpp/impl/codegen/string_ref.h` ( #31286 )
2 years ago
Cheng-Yu Chung
8c7cb57c02
Revert "Revert "Revert "Remove `include/grpcpp/impl/codegen/status_code_enum.h`"" ( #31391 )" ( #31396 )
...
This reverts commit 7827868762
.
2 years ago
Cheng-Yu Chung
7827868762
Revert "Revert "Remove `include/grpcpp/impl/codegen/status_code_enum.h`"" ( #31391 )
...
* Revert "Revert "Remove `include/grpcpp/impl/codegen/status_code_enum.h` (#31284 )" (#31387 )"
This reverts commit 1a9ce63199
.
* Update
2 years ago
Cheng-Yu Chung
1a9ce63199
Revert "Remove `include/grpcpp/impl/codegen/status_code_enum.h` ( #31284 )" ( #31387 )
...
This reverts commit 3981105be6
.
Co-authored-by: Alisha Nanda <alishananda@google.com>
2 years ago
AJ Heller
62e88c0c31
Document thread-saftey of ClientContext::TryCancel ( #30416 )
...
* Document thread-saftey of ClientContext::TryCancel
* rm sneaky file
2 years ago
Cheng-Yu Chung
3981105be6
Remove `include/grpcpp/impl/codegen/status_code_enum.h` ( #31284 )
2 years ago
Cheng-Yu Chung
0fbc4a715c
Remove `include/grpcpp/impl/codegen/service_type.h` ( #31282 )
2 years ago
Yash Tibrewal
727ae8c885
GcpObservability: Add experimental public target ( #31339 )
...
* GcpObservability: Add experimental public target
* Yapf and IWYU
2 years ago
Yash Tibrewal
2c98fe0119
SerializationTraits: Remove unnecessary 2nd template parameter ( #31363 )
2 years ago
Cheng-Yu Chung
ad04dc3766
Remove `include/grpcpp/impl/codegen/slice.h` ( #31283 )
2 years ago
Cheng-Yu Chung
7a2c28c7b9
Remove `include/grpcpp/impl/codegen/server_interceptor.h` ( #31281 )
2 years ago
Cheng-Yu Chung
d699b574a8
Remove `include/grpcpp/impl/codegen/server_callback.h` ( #31279 )
2 years ago
Cheng-Yu Chung
a1cb2f3d6f
Remove `include/grpcpp/impl/codegen/server_callback.h` ( #31280 )
2 years ago
Cheng-Yu Chung
6971df9aee
Remove `include/grpcpp/impl/codegen/serialization_traits.h` ( #31278 )
2 years ago
Cheng-Yu Chung
8b8fcfdd0b
Revert "Remove `include/grpcpp/impl/codegen/rpc_service_method.h` ( #31277 )" ( #31317 )
...
This reverts commit e3803bb1b5
.
2 years ago
Cheng-Yu Chung
e3803bb1b5
Remove `include/grpcpp/impl/codegen/rpc_service_method.h` ( #31277 )
2 years ago
Cheng-Yu Chung
d1c04427f3
Remove `include/grpcpp/impl/codegen/rpc_method.h` ( #31269 )
2 years ago
Cheng-Yu Chung
9125b6ee66
Remove `include/grpcpp/impl/codegen/proto_buffer_writer.h` ( #31268 )
2 years ago
Cheng-Yu Chung
113422ff8b
Remove `include/grpcpp/impl/codegen/proto_buffer_reader.h` ( #31261 )
2 years ago
Cheng-Yu Chung
cc58369279
Remove `include/grpcpp/impl/codegen/completion_queue.h` ( #31059 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue.h`
* Update
* Update
* Fix build error
* Update
2 years ago
Cheng-Yu Chung
3eb0c7f2ff
Remove `include/grpcpp/impl/codegen/client_unary_call.h` ( #31058 )
...
* Remove `include/grpcpp/impl/codegen/client_unary_call.h`
* Automated change: Fix sanity tests
* Fix
Co-authored-by: ralphchung <ralphchung@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
d76c6f61f0
Remove `include/grpcpp/impl/codegen/method_handler.h` ( #31249 )
2 years ago
Cheng-Yu Chung
488f17eb46
Remove `include/grpcpp/impl/codegen/message_allocator.h` ( #31246 )
2 years ago
Cheng-Yu Chung
279ec5ab45
Remove `include/grpcpp/impl/codegen/interceptor.h` ( #31245 )
2 years ago
Cheng-Yu Chung
a192f155b9
Remove `include/grpcpp/impl/codegen/config.h` ( #31061 )
...
* Remove `include/grpcpp/impl/codegen/config.h`
* Update
2 years ago
Cheng-Yu Chung
4ba0f9afb5
Revert "Revert "Remove `include/grpcpp/impl/codegen/client_callback.h` ( #31005 )" ( #31079 )" ( #31087 )
...
This reverts commit da08fe1d6f
.
2 years ago
Cheng-Yu Chung
0e8a6515df
Remove `include/grpcpp/impl/codegen/client_context.h` ( #31006 )
...
* Remove `include/grpcpp/impl/codegen/client_context.h`
* Update
* Update
2 years ago
nanahpang
d84846646d
Enable logs for error message in call_op_set.h. ( #31177 )
...
* Enable logs for error message in call_op_set.h.
The `gpr_log` was commented out from call_op_set.h at PR: https://github.com/grpc/grpc/pull/20681 , because of the undefined error. It is probably just missing the header file, so adding the `gpr_log` back.
* Automated change: Fix sanity tests (#31178 )
Co-authored-by: nanahpang <nanahpang@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nanahpang <nanahpang@users.noreply.github.com>
2 years ago
Vignesh Babu
7655858e93
Reland tcp endpoints for posix event engine ( #31150 )
...
* Revert "Revert "Tcp endpoint implementation for posix event engine. (#30559 )" (#31134 )"
This reverts commit 5fa37322cb
.
* make tx zero-copy more robust
* make tx zero-copy more robust
* typo
* fix
* re-enable commented code
* sanity
* sanity again
* Add parsing of /etc/security/limits.d directory
* review comments
* review comments
* typo in copyright
* missing newline
* sanity
* sanity
* iwyu
2 years ago
AJ Heller
6cac641c64
EventEngineFactoryReset - remove custom factory and reset default engine ( #30554 )
...
* EventEngineFactoryReset - remove custom factory and reset default engine
* fix
* Automated change: Fix sanity tests
* unused parameter
* fix
* fix
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Ashitha Santhosh
2bdec04852
Update comment on GRPC_ARG_TSI_MAX_FRAME_SIZE ( #31114 )
2 years ago
AJ Heller
2ee2c91c92
Reland x2: Make GetDefaultEventEngine return a shared_ptr ( #30619 )
...
* Reland x2: Make GetDefaultEventEngine return a shared_ptr
* remove thread leak from NativeDNSResolver
This is not going to work for resolvers that support cancellation.
* give resolvers bounded lifetimes
Some resolver own EventEngines. EventEngines cannot run off the end of
the process since they have unjoined threads (problematic in a small set
of environments). This gives resolvers bounded lifetimes, and allows
replacement of resolvers without ASAN issues of deleting resolvers in
active use (occurs in tests).
* fix
* fix windows
* fix surface init test
* fix
* sanitize
* use after move
* the test must wait for the callback to be destroyed
* windows fix: delete the resolver on iomgr shutdown, not before
* Make TimerManager threads non-joinable
On gRPC shutdown, any unjoined TimerManager threads will cause TSAN to
detect thread leaks. This fix resolves issues I saw in end2end test
shutdown in another PR, where a single timer manager thread was always
alive after the test ended.
The long-term solution is to integrate the new ThreadPool here, but this
unblocks me for now.
* backport fix
* fix
* shared_ptr<EventEngine> in EventEngine benchmarks
2 years ago