David Garcia Quintas
a21ab2ba29
Fix compression algorithm accessors
7 years ago
Jan Tattermusch
97209aee1a
fix warning & typo
7 years ago
Vijay Pai
e1e7042919
Restructure to simplify, harden, and avoid forward declaration
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
7 years ago
Vijay Pai
b4b0ac7049
Resolve leak by freeing request payload if resources exhausted
7 years ago
Vijay Pai
fd4884a768
Address review comments
7 years ago
Vijay Pai
7500577593
Address review feedback; stop using result of 'what'
7 years ago
Vijay Pai
ab00654784
Tag new #else and #endif blocks with comments
7 years ago
Vijay Pai
9809ce38e9
Use appropriate preprocessor guards to allow building without exceptions
7 years ago
Vijay Pai
8fc3715a17
Catch exceptions from sync method handlers without crashing server
7 years ago
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
7 years ago
Vijay Pai
d5730c6c22
Allow no message on sync unary call, just like async
7 years ago
yang-g
30ced5d09f
Add comments for AsyncGenericService
7 years ago
yang-g
9c5d8267cd
resolve comments
7 years ago
yang-g
69aec17562
Add dummy operator delete to make VS2015 not complain.
7 years ago
ncteisen
6193c63dab
Reviewer feedback
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
ncteisen
11f6780bfd
Add comment with API
7 years ago
ncteisen
64e0b10a97
Variable name consistency
7 years ago
ncteisen
b9cff78f9e
Reviewer feedback
7 years ago
Noah Eisen
0d7f5e77c0
No null string ctor
7 years ago
ncteisen
74c106eff3
Add error string to C++
7 years ago
Craig Tiller
e8c47036fb
Update comments
7 years ago
Vijay Pai
3aeff224ed
Remove some dead code from a previous iteration of internal::Call
7 years ago
Craig Tiller
ba5f5cedd6
ServerBuilder interface cleanup
...
Nothing is added or removed in this PR.
Instead, methods are re-ordered so that important methods are read
first, and less important customization methods are seen later.
The intent here is to simplify the "I just want to bring a server up"
code path.
7 years ago
ncteisen
adbfbd5977
Remove all extern C
7 years ago
ncteisen
14c60f1d12
Fix segfault
7 years ago
ncteisen
0354c22d40
Save C++ for follow up PR
7 years ago
Vijay Pai
2cb57e5ef4
Avalanching operations on completion queue should be private, not API
7 years ago
ncteisen
40737d67ee
Add error string to recv status API
7 years ago
Ken Payson
fcfa440b20
Default to 1 cq per sync server
7 years ago
yang-g
b90f0e66e5
relax for inlined bytes to avoid allocation
7 years ago
yang-g
c88185900d
handle 0 byte size message...
7 years ago
yang-g
272eebbbcd
Only allocate what we need in the last slice for proto serialization
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
ncteisen
27a6713db3
Use protected, remove uneeded member variable
7 years ago
ncteisen
023726202a
Refactor SerializationTraits
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
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
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
Anna Sapek
1e91362498
Fix param annotation for AddListeningPort()
7 years ago