Vijay Pai
66253c521a
Revert "Revert "Expose trailers-only response status through C++ callback API"" ( #26365 )
...
* Revert "Revert "Expose trailers-only response status through C++ callback API (#26249 )" (#26363 )"
This reverts commit 05c3b30ea0
.
* Move the trailers_only check from ClientContext to ClientReactor
* Remove unneeded change in client_context.cc
4 years ago
Yash Tibrewal
05c3b30ea0
Revert "Expose trailers-only response status through C++ callback API ( #26249 )" ( #26363 )
...
This reverts commit 393bae7e88
.
4 years ago
Vijay Pai
393bae7e88
Expose trailers-only response status through C++ callback API ( #26249 )
...
* Expose trailers-only response status through callback API
* Fix change-detector test
* Address reviewer comment about trailers_only headers
* Add TODO requested by markdroth
* Move variable in struct to improve space efficiency
* Don't instantiate ExecCtx in channel_args destructor unless needed
4 years ago
Vijay Pai
0f80378a21
Resolve race between OnReadDone(ok=false) and IsCancelled ( #26245 )
...
* Resolve and test race between OnReadDone(ok=false) and IsCancelled
* Fix retry case
* Fix health check case
* Address reviewer comments.
* ADD TODO requested by markdroth
4 years ago
Vijay Pai
edf500fb82
Add useful status error message when server threadpool is exhausted ( #26146 )
4 years ago
mkruskal-google
2bf75aa68a
Add optional suffix to client-side stub objects ( #25996 )
...
* Adding suffix for stats handling to gRPC
* Fixing typo
* Fixing codegen, adding tests
* Fixing test failures
* Adding nullptr default in StubOptions
* Updating golden test file
* Replacing std::make_unique with absl::make_unique for pre-C++14 compatibility
* Fixing clang format errors
* Reuse stub options for generic stubs
* Cleaning up compiler warnings in GenericStub
4 years ago
Esun Kim
2dc8df9ef6
Fix bugprone unhandled self assignment ( #25667 )
...
* Add bugprone-unhandled-self-assignment
* Fix bugprone-unhandled-self-assignment
4 years ago
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
4 years ago
Vijay Pai
dae5624e47
Thread annotations for C++ callback API headers ( #25571 )
...
* Annotate headers
* clang-format
4 years ago
Esun Kim
f862a2259f
Add abseil thread annotations to grpcpp/sync ( #25560 )
...
* Add abseil annotation to grpcpp/sync
* Bump alpine linux to 3.11 from 3.9
4 years ago
Vijay Pai
26e4c14b1e
Add virtual destructor to ClientReactor base class ( #25599 )
...
* Add virtual destructor
* Remove subclass empty destructors
4 years ago
WANG Lei
f99a08fe46
Remove unused parameter from UnaryDeserializeHelper ( #25332 )
...
* fix -Wunused-parameter warning
* clang-fmt
* clang-format
Co-authored-by: Vijay Pai <vpai@google.com>
4 years ago
Vijay Pai
909cac3866
Document reaction concurrency and reactor lifetime ( #25481 )
4 years ago
Vijay Pai
dba8bb59a0
Implement callback CQ at C++ layer using shared thread pool if non-background iomgr
4 years ago
Esun Kim
6468d8a69d
Make grpcpp/mutex compatible absl/mutex
4 years ago
mkruskal-google
0416696848
Update auth_context.h
4 years ago
ZhouyihaiDing
a584bc4f02
Support ServerContext for callback API
4 years ago
AJ Heller
ec9451e856
Fix typo in documentation
4 years ago
Vijay Pai
91bb4e178c
Check for nullptr (deser failure) before destructing included request
4 years ago
Adam Cozzette
63ee5b62c2
Updated parse_json.cc to rely on config_protobuf.h for protobuf types
...
Google's internal version of the gRPC codebase uses a version of
protobuf with a different namespace and include paths. This commit makes
parse_json.cc rely on config_protobuf.h for protobuf types so that it
will work properly in that environment. I also replaced a call to
Status::error_code() with a call to Status::code() instead. This way the
code will work with absl::Status, which has a somewhat different API
compared to google::protobuf::util::Status.
4 years ago
Esun Kim
20509e823d
Fix google-explicit-constructor
4 years ago
Esun Kim
decc199ca8
Fix by clang-tidy
4 years ago
Vijay Pai
afe4d1d086
Reduce templating for async client unary call codegen
4 years ago
Vijay Pai
96503e3c72
Reduce code paths
4 years ago
Esun Kim
119228e7bb
Clean up WriteOptions cctor
4 years ago
Esun Kim
d812b0cf38
Fix errors in doxygen param descriptions
4 years ago
Vijay Pai
6f7a98916b
Reduce template use in server
4 years ago
Vijay Pai
476743786b
Also reduce templating for ClientUnaryReactor
4 years ago
Esun Kim
34789b2d83
Fix by clang-format-8.
4 years ago
Vijay Pai
ef212a908e
Reduce sync client templating for protobuf
4 years ago
Vijay Pai
7e72bba162
Reduce templating for unary callback client RPC
4 years ago
Karthik Ravi Shankar
e549843885
Move remaining classes to grpc from grpc_impl
4 years ago
Vijay Pai
c4f5bcac10
Remove non-existent grpc_impl forward declaration
4 years ago
Vijay Pai
f8b046e819
Eliminate ServerContextBase::Clear/Setup and fix unref process for core call
4 years ago
Christian Maurer
d48e350d58
Remove conversion warning by static casting
4 years ago
Vijay Pai
346a00eb31
Cleanup generic server contexts
4 years ago
Vijay Pai
b427807f3b
Fix server backlog processing to not set stream until backlog cleared
4 years ago
Vijay Pai
6bbe905e27
Remove invalid forward declaration
4 years ago
Alisha Nanda
25c35b6db7
Revert "Revert "Merge pull request #24047 from grpc/revert-23916-server-context""
...
This reverts commit 84c4994dc7
.
4 years ago
Karthik Ravi Shankar
67667eb7b6
Revert ...
4 years ago
Alisha Nanda
84c4994dc7
Revert "Merge pull request #24047 from grpc/revert-23916-server-context"
...
This reverts commit 7c098321bd
, reversing
changes made to d109f4b406
.
4 years ago
Karthik Ravi Shankar
b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc""
4 years ago
Karthik Ravi Shankar
f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc"
4 years ago
Karthik Ravi Shankar
967c0a2a32
Move Server from ::grpc_impl to ::grpc
...
Reverts: https://github.com/grpc/grpc/pull/18458
4 years ago
Karthik Ravi Shankar
a23578444c
Fix and format build after rebase
4 years ago
Vijay Pai
8a3c0a8c95
Justify existence of this directory
4 years ago
Vijay Pai
355c7b26d4
Update README.md
4 years ago
Vijay Pai
7dd4e786cd
Justify this directory's existence
4 years ago
Karthik Ravi Shankar
56d7d9e804
Move ServerContext from ::grpc_impl to ::grpc
4 years ago
Karthik Ravi Shankar
751b9c105f
Move ClientContext from ::grpc_impl to ::grpc
...
Reverts: https://github.com/grpc/grpc/pull/19261
4 years ago