Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Karthik Ravi Shankar
9db914a0cc
Revert "Revert "Move ServerBuilder back to ::grpc from ::grpc_impl""
5 years ago
Karthik Ravi Shankar
0f64d1f96b
Revert "Move ServerBuilder back to ::grpc from ::grpc_impl"
5 years ago
Karthik Ravi Shankar
133f38a885
Make changes for ResourceQuota and friend namespaces.
5 years ago
Karthik Ravi Shankar
934cf3e3df
Move ServerBuilder back to ::grpc from ::grpc_impl
...
Revert #18510
5 years ago
Vijay Pai
b797dbec3e
Allocating request matcher to support C++ callback API
5 years ago
Vijay Pai
06ca713df0
Instantiate tracking members regardless of NDEBUG
5 years ago
Vijay Pai
6b2aeec9f3
Revert "Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)""""
5 years ago
Lidi Zheng
cd086cb3e4
Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"""
5 years ago
Vijay Pai
16f2250585
Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)""
5 years ago
Jan Tattermusch
e7d5ca0b46
Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"
5 years ago
Vijay Pai
6466c7f166
Log an error (in dbg mode) if CQ is Shutdown before its Server(s)
5 years ago
yang-g
f50c5a025c
Revert "Merge pull request #21494 from grpc/revert-21478-max_message_size"
...
This reverts commit 2e4ebd7478
, reversing
changes made to 1bd6fcc338
.
5 years ago
Yang Gao
5a938a7012
Revert "Allow plugin/option/global_callback to override max_recv_message_size"
5 years ago
yang-g
2db942a875
Allow plugin/option/global_callback to override max_recv_message_size
5 years ago
Vijay Pai
eac7b5ee49
port_platform should be included since that's where NONEXPERIMENTAL is specified
5 years ago
Vijay Pai
2c87eaabd4
De-experimentalize generic features of callback API under an ifdef
5 years ago
Esun Kim
f40a702441
Clean up headers
5 years ago
Christian Maurer
46dddacdf3
remove all unused-parameter warnings
5 years ago
Karthik Ravi Shankar
8b91dc5fd2
Move more of usage to grpc_impl
...
1) Create server_context_impl and completion_queue_impl headers.
2) Move more of usage of ClientContext, ServerContext to grpc_impl
6 years ago
Moiz Haidry
fbd5957ee8
Sanity and build fixes
6 years ago
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
6 years ago
Soheil Hassas Yeganeh
85f08100d4
Avoid using seq_cst atomic operations in grpcpp when unnecessary.
...
These cases are almost all in the callback API.
Also use atomic<intptr_t> insteda of atomic_int for consistency with
gpr_atm and grpc_core::Atomic.
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
40210d3b8a
Move Channel to grpc_impl
6 years ago
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
hcaseyal
f2fb11030b
Add protected getters and setters for server health check fields
6 years ago
yang-g
898fc0da1e
More fixes
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Karthik Ravi Shankar
6b0806eae3
more formatting changes
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
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
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
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
b7f14fdab8
Properly implement unimplemented RPCs at callback-only server
6 years ago
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
6 years ago
Vijay Pai
05d8ddfc6e
Support callback-based generic service
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Vijay Pai
8521c0394b
Address optional reviewer comments
6 years ago
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
6 years ago
Vijay Pai
7a164229db
Address reviewer comments
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
6 years ago
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
6 years ago