Cheng-Yu Chung
a1cb2f3d6f
Remove `include/grpcpp/impl/codegen/server_callback.h` ( #31280 )
2 years ago
Mark D. Roth
65a7ce3f04
Revert "Revert "server: add method to expose authority seen by server ( #29768 )" ( #29806 )" ( #29807 )
...
This reverts commit e39e943529
.
3 years ago
Mark D. Roth
e39e943529
Revert "server: add method to expose authority seen by server ( #29768 )" ( #29806 )
...
This reverts commit 449adce98b
.
3 years ago
Mark D. Roth
449adce98b
server: add method to expose authority seen by server ( #29768 )
...
* server: add method to expose authority seen by server
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
3 years ago
Nicolas Noble
667691c499
server: per-rpc backend metric reporting ( #29621 )
...
Users can now report per-rpc metrics from servers to clients.
3 years ago
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
Alisha Nanda
0a502d8f2e
Fix race between Read and ServerContext::IsCancelled in Sync API ( #27056 )
...
* Fix OOM issues in qps tests
* Add more verbose logging.
* Fix clang error
* Fix race between IsCancelled and Read
* Fix build errors from using bool in C code
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Rainer Schoenberger
ede7923116
Fix ABNF grammar formatting in doxygen documentation ( #26467 )
3 years ago
Vijay Pai
0b65c34ae5
De-experimentalize default_reactor_test_peer.h and last uses of CallbackServerContext (plus namespace cleanup) ( #26569 )
...
* De-experimentalize default_reactor_test_peer.h (plus namespace cleanup)
* Remove experimental refs to callback API in server_context.h
4 years ago
Vijay Pai
cf1ebf7387
Remove experimental tag from uses of the C++ callback API ( #26495 )
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
ZhouyihaiDing
a584bc4f02
Support ServerContext for callback API
4 years ago
Esun Kim
decc199ca8
Fix by clang-tidy
4 years ago
Vijay Pai
6f7a98916b
Reduce template use in server
4 years ago
Vijay Pai
f8b046e819
Eliminate ServerContextBase::Clear/Setup and fix unref process for core call
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
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
a23578444c
Fix and format build after rebase
4 years ago
Karthik Ravi Shankar
56d7d9e804
Move ServerContext from ::grpc_impl to ::grpc
4 years ago
Vijay Pai
62e01dd922
Add non-experimental:: versions under ifdef
5 years ago
Vijay Pai
94a8c5888a
Remove namespace experimental from namespace grpc_impl
5 years ago
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
5 years ago
Karthik Ravi Shankar
522ddfe273
Move ClientContext to grpc_impl
...
ClientContext is another file which needs to be moved from grpc to
grpc_impl for referencing it.
6 years ago
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
6 years ago
Karthik Ravi Shankar
03b079499c
Move CompletionQueue and Channel
6 years ago
Karthik Ravi Shankar
6be0b06c69
Revert "Fold CompletionQueue and ServerCompletionQueue into grpc_impl"
6 years ago
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
6 years ago
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
6 years ago
Karthik Ravi Shankar
b84d3db762
Fix build after merge from master
6 years ago
Karthik Ravi Shankar
dc3a715be4
Fix clang format code errors.
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
6 years ago
Vijay Pai
05d8ddfc6e
Support callback-based generic service
6 years ago
Nicolas "Pixel" Noble
12b0db3e57
Folding CompletionQueue and ServerCompletionQueue.
6 years ago
Hope Casey-Allen
233123ae3f
Improve metadata documentation for the user
6 years ago
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Vijay Pai
2f47137a6e
Add support for IsCancelled check
6 years ago
Vijay Pai
b460622c2d
Address reviewer comments
6 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
6 years ago
Yash Tibrewal
c2e3fde9b5
Rename call.h to call_op_set.h and call_wrapper.h to call.h
6 years ago
Yash Tibrewal
281de1bb30
Solve memory leak due to double setting of set_server_rpc_info
6 years ago