Karthik Ravi Shankar
506ca7fc36
Fix clang script errors
6 years ago
Karthik Ravi Shankar
b84d3db762
Fix build after merge from master
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
4cb0d0d6b1
Fix errors from clang scripts
6 years ago
Karthik Ravi Shankar
991409798c
Fix clang script errors
6 years ago
Hope Casey-Allen
b86e70592e
Format
6 years ago
Hope Casey-Allen
cee3292cdf
Update callback API documentation
6 years ago
Moiz Haidry
ca209ae00e
Fix typo in server credentials impl header file
6 years ago
Karthik Ravi Shankar
a93ff7d617
Fix script errors
6 years ago
Karthik Ravi Shankar
9222d4f3c2
Fix clang issues
6 years ago
Karthik Ravi Shankar
43b33ee371
Fix errors from clang scripts
6 years ago
Karthik Ravi Shankar
c4b7423ad0
Fix errors due to rebase
6 years ago
Karthik Ravi Shankar
8e092b45fa
Move ProtoServerReflectionPlugin from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
53cf5ddb6b
Fix include guard
6 years ago
Vijay Pai
847b0155d9
Promise to call OnStarted and forbid Start* until after OnStarted
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
a88e3f4c2e
Move ServerBuilderOption from grpc to grpc_impl namespace
6 years ago
Vijay Pai
abb991be25
Further clarify some APIs by removing their comments from internal::
6 years ago
Vijay Pai
9169159f30
Comments for all callback API methods
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
850d02d67d
Move channelz_service_plugin from grpc to grpc_impl namespace
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
392554e341
Fixing clang_tidy_format.sh issues.
6 years ago
Karthik Ravi Shankar
49773cbe9a
Fix namespace to grpc
6 years ago
Karthik Ravi Shankar
d23753ca46
Move create_channel_posix from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
d204654836
Fix errors from clang_format_code.sh
6 years ago
Karthik Ravi Shankar
6e5587b165
Fix build issues.
6 years ago
Karthik Ravi Shankar
35e793d23a
Fix more more tests.
6 years ago
Karthik Ravi Shankar
8dbaa13f52
Fix more grpc namespace issues
6 years ago
Karthik Ravi Shankar
92bde3922f
Fix tests to use grpc namespace.
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
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
Arjun
ca69f911a7
Add initial Fuchsia support.
...
1. Add a BUILD.gn file
2. Support fuchsia as a platform
This is heavily based on the changes in https://fuchsia.googlesource.com/third_party/grpc/
6 years ago
Karthik Ravi Shankar
54171e276f
Fold server credentials from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
d684ddc7e3
Fold AuthMetadataProcessor into grpc_impl from grpc
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
8dcd98ef8c
Fix server unit test errors.
6 years ago
Vijay Pai
7b3a120295
Address reviewer comments
6 years ago