Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
6 years ago
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
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
Lidi Zheng
8beaac2911
Regenerate projects
6 years ago
Karthik Ravi Shankar
9b42ab79e0
Make build fixes for bazel build :all
6 years ago
Lidi Zheng
aaef785de8
Regenerate projects
6 years ago
Yash Tibrewal
cb6a2968fe
Make Interceptors work for lame channels
6 years ago
Hao Nguyen
e69406008f
Explicitly set case_insensitive_enum_parsing = true when parsing JSON
6 years ago
Karthik Ravi Shankar
8e092b45fa
Move ProtoServerReflectionPlugin from grpc to grpc_impl namespace
6 years ago
Lidi Zheng
1d7e99142f
Regenerate projects
6 years ago
Lidi Zheng
0231bf3b01
Regenerate projects
6 years ago
Vijay Pai
fb5c385208
Remove unneeded header files
6 years ago
Karthik Ravi Shankar
fc50caf725
Fix clang format issues
6 years ago
Karthik Ravi Shankar
dc3a715be4
Fix clang format code errors.
6 years ago
Karthik Ravi Shankar
2f2ed7228b
Fix clang_format_code.sh errors
6 years ago
Karthik Ravi Shankar
577ddfb1a1
Move ServerInitializer to grpc_impl namespace from grpc
6 years ago
Karthik Ravi Shankar
996da58667
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
6 years ago
Karthik Ravi Shankar
e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder"
6 years ago
Karthik Ravi Shankar
b2b1e57337
Fix errors from test scripts.
6 years ago
Karthik Ravi Shankar
4b0175f2c8
Fix errors from clang_format_code.sh
6 years ago
Karthik Ravi Shankar
130962490b
Make changes to fix test failures
6 years ago
Karthik Ravi Shankar
8dbaa13f52
Fix more grpc namespace issues
6 years ago
Karthik Ravi Shankar
b25f6da3f0
Make changes to fix test failures
6 years ago
Karthik Ravi Shankar
e27ddbc87e
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
6 years ago
Karthik Ravi Shankar
ecfc107f32
Make more changes to remove grpc qualifier from tests
6 years ago
Karthik Ravi Shankar
4260fe1147
More fixes
6 years ago
Soheil Hassas Yeganeh
ad1b3e5094
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
...
grpc_byte_buffer_reader_next() copies and references the slice. This
is not always necessary since the caller will not use the slice
after destroying the byte buffer.
A prominent example is the protobuf parser, which
calls grpc_byte_buffer_reader_next() and immediately unrefs the slice
after the call. This ref() and unref() calls can be very expensive
in the hot path.
This commit introduces grpc_byte_buffer_reader_peek() which
essentialy return a pointer to the slice in the buffer, i.e.,
no copies, and no refs.
QPS of 1MiB 1 Channel callback benchmark increases by 5%.
More importantly insructions per cycle is increased by 10%.
Also add tests and benchmarks for byte_buffer_reader_peek()
This commit reaplies 509e77a5a3
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
338b4cb5c9
Fold ErrorDetails into grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
6da0ca4421
Bring ChannelArguments to grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
54171e276f
Fold server credentials from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
526bf39f89
Fold GenericStub from grpc_impl to grpc
6 years ago
Karthik Ravi Shankar
f58aed2d06
Make changes to server_posix to expose method outside
6 years ago
Karthik Ravi Shankar
1d357572cf
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
...
This reverts commit d8d8bec7c8
.
6 years ago
Karthik Ravi Shankar
e9593285a8
Move LoadReportingServiceServerBuilderOption from grpc to grpc_impl
6 years ago
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
6 years ago
Karthik Ravi Shankar
2772f519e6
Fix errors from presubmit scripts.
6 years ago
Karthik Ravi Shankar
4a0c3b848f
Fix broken tests
6 years ago
Karthik Ravi Shankar
f66b654795
Revert "Revert "Fold opencensus into grpc_impl namespace""
6 years ago
Karthik Ravi Shankar
2bf934f97d
Revert "Fold opencensus into grpc_impl namespace"
6 years ago
Karthik Ravi Shankar
90edf47fe9
Move server_posix from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
6 years ago
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Srini Polavarapu
9e9cc11d2b
Regenerate projects
6 years ago
Vijay Pai
b7f14fdab8
Properly implement unimplemented RPCs at callback-only server
6 years ago
Vijay Pai
5030177c5c
Add comment to address reviewer feedback
6 years ago
Karthik Ravi Shankar
5e5e337b03
fix from clang format code
...
Add fixes from clang_format_code.sh.
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago