Craig Tiller
bc81291f7e
Remove check for no workers
...
I *believe* this is actually safe, and the assert was errantly
copy-pasted a while back.
Fixes #3022
10 years ago
Nathaniel Manista
3b0fefb246
Beta maintenance of Python dependencies
...
(1) Move dependency on protobuf from grpcio to grpcio_test. While the
most-commonly-foreseen use case of grpcio makes use of protobuf,
technically protobuf is not strictly needed and there's no actual
in-code relationship between grpcio and protobuf.
(2) Loosen the dependency on protobuf from ==3.0.0a3 to >=3.0.0a3.
(3) Update all references to 0.10.0* to 0.11.0.
(4) Alphabetize the grpcio_test dependencies.
10 years ago
Nathaniel Manista
c824eb4e90
Make servers and stubs context managers
...
Servers and stubs were context managers in the Alpha API; they may not
need to be in the Beta API but it's easy enough to do, eases migration,
and probably helps some use cases.
For now the stub is given empty __enter__ and __exit__ methods; we can
always come back and implement the actual work of context management in
a later change.
10 years ago
David Garcia Quintas
4fb049b647
Added round robin LB policy.
10 years ago
vjpai
796d0a22fc
Removing some unused vestiges
10 years ago
David Garcia Quintas
634daca1a0
Added queries and fragments to uri parser
10 years ago
Nathaniel Manista
f65d3c1102
Beta API clean-ups
...
(1) Renamed the "beta" module "implementations" because it hasn't been
monolithic since "interfaces" was factored out of it a few changes
back.
(2) Moved ChannelConnectivity from grpc.beta.beta to
grpc.beta.interfaces since it is constants that don't depend on the
beta implementation.
(3) Moved the Server interface definition from grpc.beta.beta to
grpc.beta.interfaces since it is an interface.
(4) Dropped the "create_" prefix from "create_<...>_channel" functions
to better match the other creation functions throughout the codebase.
10 years ago
Nathaniel Manista
41abb052b8
gRPC protocol objects
10 years ago
Nathaniel Manista
13db8e517d
Plumb protocol objects through RPC Framework core
10 years ago
Jan Tattermusch
bea7cbd9a5
use service account credentials for per RPC test
10 years ago
Stanley Cheung
581846ba9b
Update debian install instructions, jessie-backports
10 years ago
Craig Tiller
37b0044844
Fix a case where :status could be returned to applications
10 years ago
Jan Tattermusch
ee0ef4dfde
ugly fix of per_rpc_creds test
10 years ago
Jan Tattermusch
b26972fab4
update the interop tests based on spec
10 years ago
Nicolas Noble
77ccdb99f8
Fixing lingering bytes clipping issue on socket shutdown.
...
For more information, see comments on
https://msdn.microsoft.com/en-us/library/windows/desktop/ms738547(v=vs.85).aspx
10 years ago
David Garcia Quintas
5c4543d9f5
Introduced a registry for LB policies.
10 years ago
yang-g
61e461e890
Guard against empty vector
10 years ago
Nicolas "Pixel" Noble
791a480127
Even if the stream was cancelled, notify of its state change.
10 years ago
Jorge Canizales
3569ae43ac
Fix Bazel breakage due to magic Cocoapods header search path
10 years ago
Jorge Canizales
ff6466b726
Add header manipulation examples
...
With both raw and codegen’d library
10 years ago
Jorge Canizales
4682f8f994
Point sample proto podspec to latest gRPC and protobuf
10 years ago
Jorge Canizales
cff8aa2a01
Point SwiftSample’s Podfile to submodule protobuf
10 years ago
Jorge Canizales
78a4c7490e
Make request headers a @property property.
10 years ago
Jorge Canizales
fd2f3a7e9a
Remove unneeded include of grpc.h
10 years ago
Jorge Canizales
d21781f39e
Make the error domain and codes public and documented.
10 years ago
Craig Tiller
49d03c80c9
avoid infinite spin without checking condvar
10 years ago
Craig Tiller
29d4145a64
avoid underflow
10 years ago
Jorge Canizales
cabbcbfc84
Documentation: Don’t retry if not idempotent!
10 years ago
Jorge Canizales
f5d519464f
Wrap parsing error appropriately before propagating.
10 years ago
Jorge Canizales
ebfd11909c
Propagate parsing error if we get a bad response
10 years ago
Jorge Canizales
4edf83216e
Don’t strip -bin suffix from response metadata.
10 years ago
Nathaniel Manista
d2aa1cf0ba
Initial work on protocol objects
10 years ago
Jorge Canizales
924c3e867f
Remove unneeded include of grpc.h
10 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
10 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
10 years ago
Jorge Canizales
c57b764fef
Make the error domain and codes public and documented.
10 years ago
Jorge Canizales
7a84a4e91d
Documentation: Don’t retry if not idempotent!
10 years ago
Jorge Canizales
afb7a0ee23
Wrap parsing error appropriately before propagating.
10 years ago
Jorge Canizales
e7209c588f
Propagate parsing error if we get a bad response
10 years ago
Jorge Canizales
34667063de
Don’t strip -bin suffix from response metadata.
10 years ago
Jorge Canizales
6697e7f9ea
Don’t append -bin automatically to binary request headers.
10 years ago
Jorge Canizales
bbba491b7c
Reject non-ASCII text header values too.
10 years ago
Jorge Canizales
2529735d3d
nit: remove obsolete comment
10 years ago
Jorge Canizales
5f6001eb23
nit: _proxy -> _delegate
10 years ago
Jorge Canizales
acf5e107f3
Let remove nil or non-ASCII keys (noop instead of throw).
10 years ago
Jorge Canizales
12da424c9a
nit: Documentation and formatting.
10 years ago
Jorge Canizales
5af286884e
Make the grpc_metadataArray property private.
10 years ago
Jorge Canizales
2f10127f85
Publish GRPCRequestHeaders as a protocol
...
So we can make the property a dictionary later, by just extending
NSMutableDictionary to conform to the protocol.
10 years ago
Jorge Canizales
05640a58df
Simpler code, better exceptions.
10 years ago
Jorge Canizales
030e5d0c9c
nit: Style guide
10 years ago