Ken Payson
fcfa440b20
Default to 1 cq per sync server
7 years ago
Ken Payson
e1533572d5
Add back mpscq request matcher
7 years ago
ncteisen
f97d2f5b37
Add init/shutdown to codegen interface
7 years ago
Vijay Pai
35e14cfc6c
Function shouldn't have semicolon afterward
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
2f921a3f97
Remove grpc_slice_buf_cmp and change public_headers_must_be_c89 to print the addresses of public api functions to check if they can be linked to
7 years ago
ncteisen
27a6713db3
Use protected, remove uneeded member variable
7 years ago
ncteisen
023726202a
Refactor SerializationTraits
7 years ago
Justin Burke
c1d354d7f2
Support SSL server certificate reloading.
7 years ago
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
7 years ago
Mark D. Roth
6e5ce7288d
Assume that subchannels start in state IDLE.
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Yash Tibrewal
589e58316a
Missing extern C in public API
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Vizerai
bb7d088ed2
Cleaning up census code.
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
thinkerou
d582cdf0ae
fix typo
7 years ago
Vijay Pai
953afecaaf
Add an explicit void 2nd parameter to invocation of SerializationTraits
7 years ago
Craig Tiller
1e8c2ab769
clang-format
7 years ago
Craig Tiller
ad059f70f8
Fix threading
7 years ago
Frank Groeneveld
fbf8128da8
Add OpenBSD support
7 years ago
Anna Sapek
1e91362498
Fix param annotation for AddListeningPort()
7 years ago
Muxi Yan
cd9729780a
Make platform-specific headers textual
7 years ago
Yash Tibrewal
d6aca04947
Force define __STDC_FORMAT_MACROS for PRIdxx types
7 years ago
Yash Tibrewal
53a47f09e2
Changes for C to C++. Adding extern C to header files for compatibility.
7 years ago
Muxi Yan
89cf5a4093
Eliminate gRPC-Core umbrella header warning by tweaking module.modulemap and excluding some files for other build systems
7 years ago
Ken Payson
30f1d0fe79
Specify min windows version as Vista for Python
7 years ago
Mark D. Roth
61b26f97b0
Code review changes.
7 years ago
Juanli Shen
fe40815682
Readd grpclb fallback
7 years ago
Eric Dobson
60092b03d2
Fix docs on grpc_call_ref
7 years ago
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
7 years ago
Vijay Pai
a44cffa11f
Base the new SerializationTraits API on implicit type conversion rather than SFINAE
7 years ago
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
7 years ago
Muxi Yan
c65c8773c0
Remove the entire line
7 years ago
Craig Tiller
18c77ccfdb
Fix pings
7 years ago
Yash Tibrewal
06312bdb43
Minor formatting, commenting and clang format for C to C++ conversion
7 years ago
Yash Tibrewal
6b56c4d953
Redefine GRPC_SLICE_MALLOC to use grpc_slice_malloc function instead of
...
designated initializers
7 years ago
Yuchen Zeng
ad32075af8
Set last_ping_sent_time to inf_past after receiving data
7 years ago
Yash Tibrewal
9eb8672bbe
Removing deprecated string to char * conversions
7 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
7 years ago
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
7 years ago
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544
.
7 years ago
K.K. Yap
a6721a0979
Comment that IPv6 Any accepts both IPv4 and IPv6 connections.
7 years ago
Vijay Pai
4433973242
Address review comments
7 years ago
Vijay Pai
1c32292c7b
Address reviewer comments
7 years ago
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
7 years ago
Vijay Pai
66eaa32773
Specify that ServerCompletionQueue must be drained.
7 years ago
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago