Mark D. Roth
db74844fb6
Really fix python.
8 years ago
Mark D. Roth
02adb8914f
Fix cython bug.
8 years ago
Mark D. Roth
448c1f002c
Move parameters for all grpc_op types into their own sub-structs.
8 years ago
Yuchen Zeng
d32dc3a188
Remove fallback files
8 years ago
Yuchen Zeng
6694bb079a
Migrate to the new c-ares dir
8 years ago
Nicolas "Pixel" Noble
da83b376eb
Changing versions from -dev to -pre1 on the release branch.
8 years ago
Masood Malekghassemi
6b890d1dd3
Run yapf over Python code
8 years ago
Masood Malekghassemi
0b1bb2d418
Don't leak Py exceptions without calling gRPC core
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Masood Malekghassemi
a66dad5db6
Add __richcmp__ to cygrpc.Timespec
8 years ago
Nathaniel Manista
7d561a6328
Fix grpc._server._Context.time_remaining
...
A weak test is included; proper test coverage will come later.
8 years ago
Stanley Cheung
b39942f06f
Update boringssl to latest chromium-stable
8 years ago
Masood Malekghassemi
c4d10dfb1b
Fix Python memory errors
...
... but for real this time.
8 years ago
Nathaniel Manista
d9ed84f66e
Doc string fix and tweaks
...
In those places where we return an object that implements two
interfaces (let's say P and Q), consistently describe it as a "P-Q"
rather than once mentioning that it is a P and describing it as a "Q"
for the rest of prose.
8 years ago
Mark D. Roth
d58a985a56
Move detection of HTTP CONNECT proxy from DNS resolver to client channel.
8 years ago
Masood Malekghassemi
a47245112b
Fix Python errors
8 years ago
Mark D. Roth
79f2a24644
Add proxy mapper hook.
8 years ago
Masood Malekghassemi
cc793703bf
Run Python formatting
8 years ago
Masood Malekghassemi
62d895bc77
Paper-over Python errors
...
This reads directly off of the slices rather than ref'ing and unref'ing
them. There's likely some silliness w.r.t. interned slices and
references to them outliving their associated call objects, but we are
just ignoring that for now.
8 years ago
Craig Tiller
732351f826
Start fixing http error --> grpc status conversion
8 years ago
Mark D. Roth
1f0f23cc5a
Handshaker plugin mechanism.
8 years ago
Nicolas "Pixel" Noble
c2390cc01b
Properly removing message_size_filter duplicate.
8 years ago
Nicolas "Pixel" Noble
0fc9999fba
Putting message size filter back.
8 years ago
Nicolas "Pixel" Noble
3d5592cea8
Moving message_size_filter properly.
8 years ago
Masood Malekghassemi
25186ae0f1
Set Python documentation copyright
8 years ago
siddharthshukla
6bfa91a795
Handle non-iterator objects in consume_request_iterator
...
Restructure the consume_request_iterator method to handle exceptions
where the object being passed is not an iterator. Fixes #8231 and #8454 .
8 years ago
ncteisen
61b8c89206
Add check on return value from start_client_batch
8 years ago
Masood Malekghassemi
4682bf3928
Diagnose AttrErr as too-old setuptools
8 years ago
Masood Malekghassemi
9fb054a537
Upversion Python
8 years ago
Masood Malekghassemi
e136c1a773
Up-version Python
8 years ago
Masood Malekghassemi
f096f540ee
Recover 'namespace'd Python distribution packages
...
Uses dynamic loading to paper-over the negative effects of losing
namespace packages in the previous commit.
8 years ago
Masood Malekghassemi
53f6d098a7
Recover 'namespace'd Python distribution packages
...
Uses dynamic loading to paper-over the negative effects of losing
namespace packages in the previous commit.
8 years ago
Ken Payson
65feb6ae3d
Add ServiceRpcHandler to exported names
8 years ago
Masood Malekghassemi
6ba93f2612
Up-version Python for backports
8 years ago
Nathaniel Manista
b2b6a9eb57
ServicerContext methods doc string fix and tweak
...
ServicerContext.set_code takes a (grpc.)StatusCode, not an integer.
8 years ago
kpayson64
a44d3145c9
Allow handlers to hint at the services they export
8 years ago
Ken Payson
83decd64e0
Revert "Add configurable exit grace periods and shutdown handlers"
...
This reverts commit 3045a379aa
.
8 years ago
Masood Malekghassemi
990983110f
Begin patching Cython
8 years ago
Masood Malekghassemi
53360f2d1c
Backport Python features to 1.0.x
...
Backports per-object grpc_init/deinit and separated-file grpc protoc
codegen (#7538 , #8246 , #8920 ).
8 years ago
Mark D. Roth
714038204a
Use the same server code for both secure and insecure servers.
8 years ago
Ken Payson
3045a379aa
Add configurable exit grace periods and shutdown handlers
...
The server cleanup method is untested.
The join() function that exposes it is only called by the internals of threading.py, and we don't hold a reference to the server thread to explicitly join() it, and I'm not sure we should add a reference just for this purpose.
Moreover, the threading.py only calls join(None), the code path in question isn't even exercised by the internals of threading.py. Its just there to make sure we properly follow the join(timeout) semantics.
8 years ago
Nathaniel Manista
b292a8502e
Refactor channel call management
...
The requirement that any created managed call must have operations
performed on it is obstructing proper handling of the case of
applications providing invalid invocation metadata. In such cases the
RPC is "over before it starts" when the very first call to
start_client_batch returns an error.
8 years ago
Nathaniel Manista
564d3a7aa3
Lint fixes
8 years ago
Mark D. Roth
071cacf1cb
Rename security handshaker files.
8 years ago
Mark D. Roth
8686cab11c
Use the same connector code for both secure and insecure clients.
8 years ago
Craig Tiller
5ef31ab9c9
Progress towards mdstr elimination
8 years ago
Craig Tiller
64b26567ad
First pass of slice interning facilities
8 years ago
Craig Tiller
e6684f415e
Remove legacy poller
8 years ago
Nathaniel Manista
8764c220d6
Improved Server.stop specification
8 years ago