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
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
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
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
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
2017-10-26 14:28:26 -07:00
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
2017-10-25 09:13:30 -07:00
thinkerou
d582cdf0ae
fix typo
2017-10-17 09:37:44 +08:00
Vijay Pai
953afecaaf
Add an explicit void 2nd parameter to invocation of SerializationTraits
2017-10-13 14:11:45 -07:00
Anna Sapek
1e91362498
Fix param annotation for AddListeningPort()
2017-10-10 15:23:09 -07:00
Juanli Shen
fe40815682
Readd grpclb fallback
2017-09-27 12:27:20 -07:00
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
2017-09-21 22:23:44 -07:00
Vijay Pai
a44cffa11f
Base the new SerializationTraits API on implicit type conversion rather than SFINAE
2017-09-21 13:12:52 -07:00
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
2017-09-21 13:12:52 -07:00
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
2017-09-14 17:55:13 -07:00
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544 .
2017-09-13 19:45:07 -07:00
Juanli Shen
3bf7b714a5
Merge pull request #12187 from AspirinSJL/lb_fallback
...
Add LB fallback to use when we can't contact any balancer.
2017-09-13 10:46:44 -07:00
K.K. Yap
a6721a0979
Comment that IPv6 Any accepts both IPv4 and IPv6 connections.
2017-09-11 16:20:04 -07:00
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
2017-09-11 09:22:48 -07:00
Craig Tiller
55863ff527
Merge github.com:grpc/grpc into write_completion
2017-09-08 14:39:15 -07:00
Vijay Pai
7f6a27a4d3
Merge pull request #12372 from vjpai/armalarmadingdong
...
Core API change: Decouple alarm construction from setting to avoid races in MT code
2017-09-07 18:34:56 -07:00
Vijay Pai
66eaa32773
Specify that ServerCompletionQueue must be drained.
2017-09-07 15:35:21 -07:00
Craig Tiller
ff952d292f
Merge github.com:grpc/grpc into write_completion
2017-09-07 12:52:44 -07:00
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
2017-09-07 11:34:13 -07:00
Blair Kutzman
c64be96372
Correct spelling of 'client'.
2017-09-05 12:45:32 -07:00
Craig Tiller
9bebf8b22a
C++ API for write-through
2017-09-01 10:20:13 -07:00
Ken Payson
4754398f81
Clang_format
2017-08-30 08:31:38 -07:00
Ken Payson
567e0f1eb6
Have write ops take ownership over slices
2017-08-29 09:21:22 -07:00
Muxi Yan
7c62a35c6f
Merge remote-tracking branch 'upstream/master' into stream_compression_config
2017-08-21 15:19:50 -07:00
Muxi Yan
229125abb1
Merge remote-tracking branch 'upstream/master' into stream_compression_config
2017-08-11 16:15:53 -07:00