Vijay Pai
b4b0ac7049
Resolve leak by freeing request payload if resources exhausted
2018-01-10 14:40:40 -08:00
Vijay Pai
fd4884a768
Address review comments
2018-01-10 18:47:09 +00:00
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
2018-01-08 10:02:38 -08:00
Vijay Pai
d5730c6c22
Allow no message on sync unary call, just like async
2017-12-22 23:48:58 -08:00
yang-g
30ced5d09f
Add comments for AsyncGenericService
2017-12-12 11:45:32 -08:00
yang-g
9c5d8267cd
resolve comments
2017-12-11 17:00:33 -08:00
yang-g
69aec17562
Add dummy operator delete to make VS2015 not complain.
2017-12-11 15:52:50 -08:00
Noah Eisen
5b1a66cef1
Merge pull request #13413 from ncteisen/surfacing-error-details-wrapped
...
Surface Error String to Wrapped Languages
2017-12-08 13:44:37 -08:00
ncteisen
6193c63dab
Reviewer feedback
2017-12-08 10:49:31 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
ncteisen
11f6780bfd
Add comment with API
2017-12-04 13:29:33 -08:00
ncteisen
64e0b10a97
Variable name consistency
2017-12-04 13:26:26 -08:00
ncteisen
b9cff78f9e
Reviewer feedback
2017-12-04 13:17:01 -08:00
Noah Eisen
0d7f5e77c0
No null string ctor
2017-12-04 12:45:15 -08:00
ncteisen
74c106eff3
Add error string to C++
2017-12-04 12:45:15 -08:00
Yash Tibrewal
36522e9f80
Merge master after no Extern C changes
2017-11-30 17:47:36 -08:00
Yash Tibrewal
10f2790f7f
Merge branch 'master' into execctx
2017-11-30 10:54:42 -08:00
ncteisen
14b27b847d
Merge commit 'aa358d5e43' into no-more-extern-c
2017-11-29 16:43:00 -08:00
Craig Tiller
bf51c97fd6
Merge pull request #13529 from ctiller/api-cleanup
...
ServerBuilder interface cleanup
2017-11-29 14:43:25 -08:00
Craig Tiller
e8c47036fb
Update comments
2017-11-29 09:37:51 -08:00
Vijay Pai
3aeff224ed
Remove some dead code from a previous iteration of internal::Call
2017-11-28 23:12:51 -08:00
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.
2017-11-28 14:28:43 -08:00
Yash Tibrewal
7486144de0
Merge master
2017-11-21 16:52:06 -08:00
ncteisen
e8bb8749ed
Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c
2017-11-21 16:22:00 -05:00
ncteisen
adbfbd5977
Remove all extern C
2017-11-17 14:08:57 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
ncteisen
14c60f1d12
Fix segfault
2017-11-15 20:26:50 -08:00
ncteisen
0354c22d40
Save C++ for follow up PR
2017-11-15 18:22:11 -08:00
ncteisen
df817f3e1a
Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details
2017-11-15 16:48:19 -08:00
Vijay Pai
2cb57e5ef4
Avalanching operations on completion queue should be private, not API
2017-11-14 12:07:55 -08:00
ncteisen
1037216ca1
Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details
2017-11-13 08:04:23 -08:00
ncteisen
40737d67ee
Add error string to recv status API
2017-11-13 08:02:35 -08:00
Yash Tibrewal
36cd68f0d5
Merge master
2017-11-10 15:09:11 -08:00
Yang Gao
5d7cb43022
Merge pull request #13315 from yang-g/proto_utils
...
Only allocate what we need in the last slice for proto serialization
2017-11-10 15:08:04 -08:00
Ken Payson
fcfa440b20
Default to 1 cq per sync server
2017-11-10 13:59:54 -08:00
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
yang-g
b90f0e66e5
relax for inlined bytes to avoid allocation
2017-11-09 09:54:54 -08:00
yang-g
c88185900d
handle 0 byte size message...
2017-11-09 09:54:54 -08:00
yang-g
272eebbbcd
Only allocate what we need in the last slice for proto serialization
2017-11-09 09:54:54 -08:00
kpayson64
c03867ff22
Merge pull request #12648 from kpayson64/attempt_2
...
Add back mpscq request matcher implementation
2017-11-07 13:32:41 -08:00
Noah Eisen
9ad6068f66
Merge pull request #13199 from ncteisen/zero-copy
...
Refactor SerializationTraits
2017-11-07 11:42:24 -08:00
Ken Payson
e1533572d5
Add back mpscq request matcher
2017-11-07 11:27:02 -08:00
ncteisen
f97d2f5b37
Add init/shutdown to codegen interface
2017-11-06 17:49:57 -08:00
Vijay Pai
0f2cfdcc0f
Merge pull request #13271 from vjpai/semi
...
Function shouldn't have semicolon afterward
2017-11-06 12:47:14 -08:00
Vijay Pai
35e14cfc6c
Function shouldn't have semicolon afterward
2017-11-06 10:08:31 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
ncteisen
27a6713db3
Use protected, remove uneeded member variable
2017-11-01 18:23:03 -07:00
ncteisen
023726202a
Refactor SerializationTraits
2017-10-31 13:15:27 -07:00
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
2017-10-27 10:22:51 -07:00