Commit Graph

1625 Commits

Author SHA1 Message Date
David Garcia Quintas 012915045f Secure naming support for gRPCLB 2017-02-07 17:41:57 -08:00
Paul Marks 3a5bba0a20 Connect to "localhost" from interop clients.
This is for compatibility with IPv6-only environments; see the Google
bug b/32531998.

Note that InteropClient.cs and http2_client.cc don't appear to be tested
by our internal branch, but I've included them for consistency.
2017-02-07 16:28:09 -08:00
Nathaniel Manista 9e61e08065 User-Agent "Python-gRPC-" → "grpc-python/"
This brings gRPC Python into conformance with the recommendation in
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md.
2017-02-07 19:31:03 +00:00
David G. Quintas b4726ff0a6 Merge pull request #9598 from kpayson64/pin_yapf
Re-run yapf code, and pin version
2017-02-06 22:29:13 -08:00
murgatroid99 2b3e12ceee Update version to 1.1.2 2017-02-06 17:42:07 -08:00
Ken Payson 0f5e3a87c2 Ran Yapf code, pinned version 2017-02-06 10:42:45 -08:00
Ken Payson 2fa5f2f978 Re-run yapf code, and pin version 2017-02-06 10:27:09 -08:00
Yuchen Zeng 86d2115553 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-02-01 16:12:08 -08:00
Craig Tiller 3a63d4c005 Merge github.com:grpc/grpc into bwest 2017-02-01 15:27:24 -08:00
Michael Lumish 0e8763ffb1 Merge pull request #9533 from murgatroid99/version_1.1.1_bump
Bump version to 1.1.1
2017-02-01 09:57:38 -08:00
murgatroid99 e15b5a42af Bump version to 1.1.1 2017-01-31 16:23:54 -08:00
Yuchen Zeng 92edda5129 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-31 15:59:19 -08:00
Craig Tiller a5b1a89779 Merge github.com:grpc/grpc into bwest 2017-01-31 15:56:57 -08:00
Craig Tiller 6e0a4760c4 Merge github.com:grpc/grpc into version3 2017-01-31 15:54:32 -08:00
murgatroid99 ba7c059c64 Run yapf_code on v1.1.x 2017-01-31 13:42:33 -08:00
Craig Tiller 5cad46e218 Bump master version numbers 2017-01-30 15:32:24 -08:00
Nicolas "Pixel" Noble 4dcb7862bf Flagging version 1.1.0. 2017-01-30 23:28:06 +01:00
David Garcia Quintas 4a1fa69d2d ran yapf 2017-01-30 10:29:49 -08:00
Mark D. Roth 203de0fa41 Really fix python. 2017-01-28 02:23:51 +01:00
Mark D. Roth 26e973e36e Fix cython bug. 2017-01-28 02:23:42 +01:00
Mark D. Roth e6dd773dff Move parameters for all grpc_op types into their own sub-structs. 2017-01-28 02:23:30 +01:00
Craig Tiller 95ccbc2d6f Merge branch 'bm_countwrites' into bwest 2017-01-27 14:10:09 -08:00
Craig Tiller 48af8b2721 Merge github.com:grpc/grpc into bwest 2017-01-26 13:58:52 -08:00
Craig Tiller afceb2edbd Merge github.com:grpc/grpc into rollfwd 2017-01-26 12:21:28 -08:00
Mark D. Roth 4ffcb2058d Merge pull request #9465 from markdroth/core_api_change
Move parameters for all grpc_op types into their own sub-structs.
2017-01-26 12:08:11 -08:00
Craig Tiller c63aaf1650 Merge branch 'cp' into rollfwd 2017-01-26 08:51:30 -08:00
Mark D. Roth db74844fb6 Really fix python. 2017-01-26 08:04:15 -08:00
Yuchen Zeng bc8a70445d Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-25 16:10:18 -08:00
Mark D. Roth 02adb8914f Fix cython bug. 2017-01-25 15:02:08 -08:00
Mark D. Roth 448c1f002c Move parameters for all grpc_op types into their own sub-structs. 2017-01-25 10:44:30 -08:00
Mark D. Roth 6f690f3483 Merge pull request #9372 from markdroth/proxy_mapper
Add proxy mapper hook.
2017-01-25 10:42:34 -08:00
Mark D. Roth 674fe85d11 Merge pull request #9383 from markdroth/http_connect_channel_arg
Trigger HTTP CONNECT handshaker via channel args.
2017-01-25 10:41:18 -08:00
Craig Tiller 0f2e2e4a42 Merge github.com:grpc/grpc into rollfwd 2017-01-24 10:53:20 -08:00
Yuchen Zeng d32dc3a188 Remove fallback files 2017-01-23 18:31:51 -08:00
Yuchen Zeng e38698e5bd Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-23 17:19:53 -08:00
Yuchen Zeng 6694bb079a Migrate to the new c-ares dir 2017-01-23 17:09:51 -08:00
Nicolas "Pixel" Noble da83b376eb Changing versions from -dev to -pre1 on the release branch. 2017-01-23 23:52:35 +01:00
Masood Malekghassemi c9cf96d2e1 Merge pull request #9127 from soltanmm-google/if-you-rely-only-on-yourself-fewer-things-might-go-wrong-but-fewer-things-might-go-right
Don't leak Py exceptions without calling gRPC core
2017-01-23 17:05:49 -05:00
Masood Malekghassemi 6b890d1dd3 Run yapf over Python code 2017-01-23 15:10:28 -05:00
Masood Malekghassemi 0b1bb2d418 Don't leak Py exceptions without calling gRPC core 2017-01-23 15:10:27 -05:00
David G. Quintas f2c5c1e541 Merge pull request #9428 from grpc/revert-8842-metadata_filter
Revert "Metadata handling rewrite"
2017-01-23 12:08:46 -08:00
Masood Malekghassemi f621a0fabe Merge pull request #9422 from soltanmm-google/as-filthy-rich-as-our-cabinet-secretaries
Add __richcmp__ to cygrpc.Timespec
2017-01-23 14:25:37 -05:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Nathaniel Manista c84725fd02 Merge pull request #9420 from nathanielmanistaatgoogle/time_remaining
Fix grpc._server._Context.time_remaining.
2017-01-20 16:42:03 -08:00
Nicolas Noble 2e225c1d80 Merge pull request #9340 from stanley-cheung/update-boringssl
Update boringssl
2017-01-20 15:50:34 -08:00
Masood Malekghassemi a66dad5db6 Add __richcmp__ to cygrpc.Timespec 2017-01-20 18:41:52 -05:00
Nathaniel Manista 7d561a6328 Fix grpc._server._Context.time_remaining
A weak test is included; proper test coverage will come later.
2017-01-20 23:14:46 +00:00
Craig Tiller ff1f160a26 Merge github.com:grpc/grpc into bwest 2017-01-20 13:55:35 -08:00
Craig Tiller b7b7486c4b Merge github.com:grpc/grpc into metadata_filter 2017-01-20 11:31:47 -08:00
Stanley Cheung b39942f06f Update boringssl to latest chromium-stable 2017-01-20 11:07:08 -08:00
Craig Tiller c27b5b7933 Merge branch 'metadata_filter' of github.com:ctiller/grpc into metadata_filter 2017-01-20 06:54:38 -08:00
Noah Eisen 659e563e2e Merge pull request #9348 from ncteisen/python_negative_http2_fix
Change expected error code in Python negative interop client
2017-01-19 22:31:35 -08:00
Yuchen Zeng e02cbebd02 Merge remote-tracking branch 'upstream/master' into cares_buildin 2017-01-19 16:33:30 -08:00
Masood Malekghassemi c4d10dfb1b Fix Python memory errors
... but for real this time.
2017-01-19 16:21:45 -08:00
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.
2017-01-19 22:30:52 +00:00
ncteisen af2c01e73e Expect INTERNAL in Python negative interop client
The test now expects to receive StatusCode.INTERNAL when it receives a
RST_STREAM from the server in order to comply with
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md

Also added wait for ready behavior on the client channel.
2017-01-19 11:41:25 -08:00
Yuchen Zeng 04ec4701e3 Merge remote-tracking branch 'upstream/master' into cares_buildin 2017-01-18 18:49:07 -08:00
Craig Tiller f593d88c78 Merge github.com:grpc/grpc into metadata_filter 2017-01-18 15:45:43 -08:00
Mark D. Roth d58a985a56 Move detection of HTTP CONNECT proxy from DNS resolver to client channel. 2017-01-18 08:28:57 -08:00
Craig Tiller 5acc826ace Merge github.com:grpc/grpc into metadata_filter 2017-01-17 17:20:14 -08:00
Masood Malekghassemi a47245112b Fix Python errors 2017-01-17 16:49:17 -08:00
Nathaniel Manista 5aa2bcfd4d Pass an iterator rather than an iterable
This should have been included in dd52a31337
but was missed because it falsely passes almost all of the time.
2017-01-17 23:31:17 +00:00
Mark D. Roth 79f2a24644 Add proxy mapper hook. 2017-01-17 14:13:33 -08:00
Masood Malekghassemi cc793703bf Run Python formatting 2017-01-17 10:55:33 -08:00
Craig Tiller a36bdc162a Merge pull request #44 from soltanmm-google/meta_meta-meta-MUSHROOM-MUSHROOM-Snaaaaakkeeeee-oohhhh-it's-a-snaaaaakkeeeeee
Paper-over Python errors
2017-01-13 18:16:39 -08:00
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.
2017-01-13 17:40:30 -08:00
Craig Tiller d425712427 Merge github.com:grpc/grpc into bwest 2017-01-13 09:33:57 -08:00
Craig Tiller 5ffd766a5e Merge github.com:grpc/grpc into metadata_filter 2017-01-10 15:28:25 -08:00
ncteisen d70c8bb871 Implement wait-for-ready behavior in Python stress and qps client
The clients now block until the channel is in the READY state. This
fixes some test flakiness issues we have had.
2017-01-10 11:59:28 -08:00
Craig Tiller d04dc4da81 Merge github.com:grpc/grpc into fix_errors 2017-01-09 14:40:28 -08:00
Mark D. Roth 6cf58c8173 Merge pull request #9129 from markdroth/handshaker_plugin
Handshaker plugin mechanism
2017-01-09 09:43:47 -08:00
Craig Tiller 732351f826 Start fixing http error --> grpc status conversion 2017-01-06 14:52:01 -08:00
Craig Tiller 0d8e0b138d Merge github.com:grpc/grpc into fix_errors 2017-01-06 13:59:30 -08:00
Mark D. Roth 1f0f23cc5a Handshaker plugin mechanism. 2017-01-06 13:07:19 -08:00
Nathaniel Manista c6a0606080 v1.0.x → master upmerge
Manual resolution:

- New test added in src/python/grpcio_test/tests/tests.json

- Timeout-related edits resolved in tools/run_tests/run_tests.py

Manual changes:

- Pass request iterator rather than request sequence in
  _reflection_servicer_test.py
2017-01-06 16:06:26 +00:00
Craig Tiller 17f6904bad Merge branch 'slice_with_exec_ctx_and_new_closures' into metadata_filter_and_new_closures 2017-01-04 10:17:31 -08:00
Nathaniel Manista 41eabb8c1f Merge pull request #9212 from nathanielmanistaatgoogle/intraop
Rename interop-as-a-unit-test "intraop".
2016-12-29 13:36:51 -08:00
Nathaniel Manista 2fab0e78b0 Rename interop-as-a-unit-test "intraop"
It's been confusing that these tests have been called "interop" but
are not actually tests of interoperation.
2016-12-29 18:41:31 +00:00
Craig Tiller eb30c809cf Merge branch 'flow_control_v2' into bwest 2016-12-27 16:03:43 -08:00
Masood Malekghassemi 25186ae0f1 Set Python documentation copyright 2016-12-27 09:57:09 -08:00
Craig Tiller ef6938477b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-27 08:59:00 -08:00
siddharthshukla 48226a2f1f Add _invocation_defects_test.InvocationDefectsTest
Added tests for detecting invocation time defects arising out of the
runtime.
2016-12-22 02:50:12 +01:00
siddharthshukla dd52a31337 Replace Python unit test iterables by iterators
Cast iterables into iterators for stream based compression, empty
message, and metadata tests.
2016-12-20 13:19:23 +01:00
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.
2016-12-20 13:19:23 +01:00
Nathaniel Manista ab8fb5be32 Merge pull request #9156 from nathanielmanistaatgoogle/Exception.message
Drop use of Exception.message in metadata test.
2016-12-19 18:08:32 -08:00
Nicolas Noble f29de26194 Merge pull request #9145 from nathanielmanistaatgoogle/v1.0.x-upmerge
v1.0.x manual upmerge
2016-12-19 14:36:24 -08:00
ncteisen 02a7d4272a Add python client to test negative http2 conditions
Documentation for the new tests can be found https://github.com/grpc/grpc/blob/master/doc/negative-http2-interop-test-descriptions.md
2016-12-19 08:50:16 -08:00
siddharthshukla c336268a40 Fix invalid tests.json
Add a comma delimiter for "_invalid_metadata_test.InvalidMetadataTest".
2016-12-17 03:49:06 +01:00
Nathaniel Manista 6aedd44fb6 Drop use of Exception.message in metadata test
Apparently Exception.message was introduced in Python 2.5 and
deprecated almost immediately afterward in Python 2.6.
2016-12-17 00:42:00 +00:00
Nathaniel Manista 8f7b0b48bf v1.0.x → master upmerge
Manual changes:

 - Fixed use of Exception.message in _invalid_metadata_test.py

 - Fixed merge of one_failed_as_unavailable in rpc_server_spec.rb

 - Added "set -e" to generate_build_additions.sh
2016-12-16 23:48:52 +00:00
Masood Malekghassemi b4c27c1cd1 Merge pull request #9120 from soltanmm-google/if-you-run-away-from-things-it-just-means-you're-going-to-see-them-again-when-you-wrap-around-the-universe
Fix Python setup-time diagnostics
2016-12-15 11:56:33 -08:00
Noah Eisen 3fa20cffc6 Merge pull request #8995 from ncteisen/python_call_batch
Add check on return value from start_client_batch
2016-12-15 11:19:47 -08:00
ncteisen 61b8c89206 Add check on return value from start_client_batch 2016-12-15 10:07:40 -08:00
Craig Tiller 9a66ba5fe9 Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-15 07:13:35 -08:00
Masood Malekghassemi 4682bf3928 Diagnose AttrErr as too-old setuptools 2016-12-14 18:42:03 -08:00
Masood Malekghassemi 9fb054a537 Upversion Python 2016-12-14 11:52:26 -08:00
Masood Malekghassemi 94b82355cb Patch overlooked strings from Python un-namespacing 2016-12-14 11:52:26 -08:00
Masood Malekghassemi f1cdf59b7f Patch overlooked strings from Python un-namespacing 2016-12-14 11:51:40 -08:00
Craig Tiller 8735891b41 Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-14 11:07:56 -08:00
kpayson64 665ec81e9c Merge pull request #9006 from kpayson64/revert_bizarre_api
Revert "Add configurable exit grace periods and shutdown handlers"
2016-12-13 12:51:14 -08:00
Nathaniel Manista d0e336ab58 Merge pull request #9045 from nathanielmanistaatgoogle/interop-fixes-v1.0.x
Interop fixes.
2016-12-13 11:59:30 -08:00
Nathaniel Manista d0966d031d Merge pull request #9080 from nathanielmanistaatgoogle/channel_ready_future_tests-v1.0.x
Channel ready future test tweaks.
2016-12-13 11:46:54 -08:00
Nathaniel Manista 1de3914d69 Style fix: pass keyword arguments by keyword 2016-12-13 02:56:41 +00:00
Nathaniel Manista 91764921bc Use LONG_TIMEOUT for calls that do not time out 2016-12-13 02:53:20 +00:00
Masood Malekghassemi e136c1a773 Up-version Python 2016-12-12 16:24:31 -08:00
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.
2016-12-12 16:24:25 -08:00
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.
2016-12-12 16:23:33 -08:00
Masood Malekghassemi 7ba3527ffe Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 16:03:23 -08:00
Masood Malekghassemi fb261bf748 Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 15:04:30 -08:00
Craig Tiller 1b0d2f008b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-12 07:19:55 -08:00
Nathaniel Manista 30492b90a3 Merge pull request #9041 from nathanielmanistaatgoogle/servicer_context_doc_strings-v1.0.x
ServicerContext methods doc string fix and tweak.
2016-12-11 12:18:47 -08:00
Nathaniel Manista e1fd78f110 Drop unnecessary sleep in interop test 2016-12-09 23:27:58 +00:00
Nathaniel Manista 8b223e2986 Correct Python cancel_after_begin interop test
It was a mistake that requests might be sent; the test specification
calls for no requests to be sent. It was a mistake that the response
future's cancelled() method was called; the cancelled() method returns
something more like "was this object's cancel() method called earlier?"
than "did the RPC terminate with status code CANCELLED?". Since it's
something that we'd well enough like to work I've retained the
cancelled() call with a different failure message.
2016-12-09 23:25:56 +00:00
Ken Payson 65feb6ae3d Add ServiceRpcHandler to exported names 2016-12-09 14:57:32 -08:00
Masood Malekghassemi 6ba93f2612 Up-version Python for backports 2016-12-09 14:47:31 -08:00
Nathaniel Manista b2b6a9eb57 ServicerContext methods doc string fix and tweak
ServicerContext.set_code takes a (grpc.)StatusCode, not an integer.
2016-12-09 22:25:36 +00:00
kpayson64 5431135ce5 Merge pull request #8742 from kpayson64/service_names_hint
Allow handlers to hint at the services they export
2016-12-09 12:51:34 -08:00
kpayson64 a44d3145c9 Allow handlers to hint at the services they export 2016-12-08 16:12:26 -08:00
Ken Payson 83decd64e0 Revert "Add configurable exit grace periods and shutdown handlers"
This reverts commit 3045a379aa.
2016-12-08 12:14:59 -08:00
Masood Malekghassemi 990983110f Begin patching Cython 2016-12-07 19:37:01 -08:00
Masood Malekghassemi edcd491648 Merge pull request #8990 from soltanmm-google/have-fun-filling-in-the-blanks-of-reality-with-belief-structures
Backport Python features to v1.0.x
2016-12-07 17:41:16 -08:00
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).
2016-12-07 14:42:31 -08:00
Craig Tiller 385dd9a462 Merge branch 'slice_interning' into metadata_filter 2016-12-06 20:27:38 -08:00
Craig Tiller 35769dc29c Merge branch 'slice_with_exec_ctx' into slice_interning 2016-12-06 20:23:13 -08:00
Craig Tiller b35cfc76e2 Merge pull request #8913 from markdroth/security_handshaker2
Rewrite security handshaker to use generic handshaker API.
2016-12-02 22:34:00 -08:00
Masood Malekghassemi 4d7b0e135b Merge pull request #8920 from soltanmm-google/fracking-is-not-inherently-horrible-it-just-does-not-have-enough-oversight
Switch to command-arg for Python split-codegen
2016-12-02 18:59:55 -08:00
Masood Malekghassemi 561dce4525 Switch to command-arg for Python split-codegen
Almost fixes #8753 (which still needs a test).
2016-12-02 15:32:15 -08:00
Mark D. Roth 714038204a Use the same server code for both secure and insecure servers. 2016-12-02 10:51:39 -08:00
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.
2016-12-01 09:38:50 -08:00
Yuchen Zeng b0023d25dc Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-30 15:51:25 -08:00
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.
2016-11-30 23:21:53 +00:00
Nathaniel Manista 564d3a7aa3 Lint fixes 2016-11-30 23:21:17 +00:00
Craig Tiller 36b3135929 Merge branch 'slice_interning' into metadata_filter 2016-11-30 13:41:53 -08:00
Craig Tiller 369ddc524a Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-30 13:32:18 -08:00
Mark D. Roth 6c3d040ebf Merge branch 'security_handshaker1' into security_handshaker2 2016-11-29 14:24:42 -08:00
Jan Tattermusch 6ff81e91c9 Merge pull request #8825 from jtattermusch/manual_upmerge_101
Manual upmerge from v1.0.x
2016-11-24 00:20:46 +01:00
Noah Eisen 24804d25b4 Add new flags to Python stress client
Add use_tls, use_test_ca, and server_host_override flags to Python
stress client. These are needed to run the stress client against a local
server that is using tls.
2016-11-22 10:19:11 -08:00
Jan Tattermusch 8613e474cb Merge remote-tracking branch 'upstream/v1.0.x' into HEAD 2016-11-22 11:15:53 +01:00
Craig Tiller ac5f518016 Merge branch 'slice_with_exec_ctx' into eliminate_mdstr 2016-11-18 12:45:16 -08:00
Mark D. Roth 071cacf1cb Rename security handshaker files. 2016-11-17 13:17:56 -08:00
Mark D. Roth 8686cab11c Use the same connector code for both secure and insecure clients. 2016-11-17 13:12:17 -08:00
Noah Eisen 91f24b9ccf Add default arguments to python interop client 2016-11-17 11:52:49 -08:00
Craig Tiller 66b14c125e Merge branch 'slice_interning' into eliminate_mdstr 2016-11-16 16:05:01 -08:00
Craig Tiller 1094c32f35 Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-16 15:54:03 -08:00
Mark D. Roth 863113a0d9 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-16 14:18:28 -08:00
Craig Tiller c80fa2f673 Merge pull request #8680 from ctiller/no_more_legacy
Remove legacy poller
2016-11-15 17:25:27 -08:00
Yuchen Zeng 5c1f55af23 Merge pull request #8335 from y-zeng/tos
Add grpc_socket_mutator
2016-11-11 15:05:14 -08:00
Craig Tiller 5ef31ab9c9 Progress towards mdstr elimination 2016-11-10 16:27:48 -08:00
Craig Tiller 64b26567ad First pass of slice interning facilities 2016-11-10 08:31:42 -08:00
Mark D. Roth fc75321830 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-08 10:57:20 -08:00
Yuchen Zeng bd363544fd Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-08 10:56:16 -08:00
Craig Tiller e6684f415e Remove legacy poller 2016-11-08 08:17:43 -08:00
Craig Tiller b720b609ea Merge github.com:grpc/grpc into grpc_slice 2016-11-08 07:20:27 -08:00
Mark D. Roth c22717ec63 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-07 09:41:07 -08:00
Masood Malekghassemi 80eb075e63 Merge pull request #8628 from soltanmm-google/turtles
Explicitly stop the server on tear-down
2016-11-04 15:52:16 -07:00
Craig Tiller 503653e27e Merge pull request #8456 from ctiller/pid_ctl
Simple PID controller
2016-11-04 14:17:14 -07:00
Nathaniel Manista 8764c220d6 Improved Server.stop specification 2016-11-03 23:07:15 +00:00
Masood Malekghassemi d6ddb0e37c Explicitly stop the server on tear-down 2016-11-03 15:29:27 -07:00
Mark D. Roth ea846a0800 Rename method_config.[ch] to service_config.[ch]. 2016-11-03 11:32:54 -07:00
Yuchen Zeng e882e39224 Fix windows build 2016-11-02 19:33:41 -07:00
Yuchen Zeng 3cc6a02a55 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-02 18:54:14 -07:00
Yuchen Zeng 64d518e3b0 Merge remote-tracking branch 'upstream/master' into tos 2016-11-02 16:27:49 -07:00
Craig Tiller 41fd9f2343 Merge github.com:grpc/grpc into grpc_slice 2016-10-31 14:42:53 -07:00
Yuchen Zeng c76e9d3062 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-28 15:41:58 -07:00
Masood Malekghassemi d953959e2b Enable split code generation
To support magical internal build processes, the pb2 files need to be
split into pure-proto and gRPC parts. This performs that split and
further fixes bad module names in the test harness that interfered with
the intended test implementation.

An unfortunate side effect, due to limitations of protoc and holdover
behavior we must support in major version 1.x, is that trash files are
generated in split generation. This shouldn't be a problem in normal
protoc plugin use.
2016-10-28 14:53:10 -07:00
Masood Malekghassemi 81cdf1e34e Fix Python tests' module loading behavior 2016-10-28 14:41:27 -07:00
Masood Malekghassemi a12e6d8037 Merge pull request #8367 from soltanmm-google/blurb
Partially implement gRPC Python server reflection
2016-10-28 13:30:16 -07:00
Craig Tiller fa014a86e3 Merge github.com:grpc/grpc into pid_ctl 2016-10-28 07:31:20 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00
Craig Tiller c3350541e3 Generate build files 2016-10-26 16:19:01 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Mark D. Roth e4e457ed76 Merge remote-tracking branch 'upstream/master' into circular_dependency_fix 2016-10-26 13:06:03 -07:00
Mark D. Roth d4a5971ae8 Merge pull request #8462 from markdroth/resolver_channel_args
Plumb channel_args through resolvers.
2016-10-26 12:54:05 -07:00
Mark D. Roth bfe56801ad Move method_config module from ext/client_channel to lib/transport. 2016-10-26 12:45:20 -07:00
Nicolas "Pixel" Noble 50a730bd1c Going 1.0.1. 2016-10-26 21:42:29 +02:00
Mark D. Roth fb809b7850 Merge remote-tracking branch 'upstream/master' into resolver_channel_args 2016-10-26 09:12:25 -07:00
Noah Eisen 970078807f Merge pull request #8449 from ncteisen/new_python_interop_tests
New python interop tests
2016-10-26 09:07:32 -07:00
Masood Malekghassemi 3e784bb6d4 Merge pull request #8347 from docent-net/master
Updated C_PYTHON_DEV_ERROR_MESSAGE err msg w/RHEL+Fedora
2016-10-25 18:51:13 -07:00
Noah Eisen 9785c8f9c4 Implement the advanced interop tests for Python
Add the code for three new interop tests: unimplemented_method,
unimplemented_service, and custom_metadata.

Fix and refactor the code for status_code_and_message.
2016-10-25 17:00:03 -07:00
Yuchen Zeng f1cd449030 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-25 11:26:17 -07:00
Maciej Lasyk 39cb9a9aca Updated C_PYTHON_DEV_ERROR_MESSAGE err msg w/RHEL+Fedora
Added RHEL/Fedora specific information about lacking of python.h - because Linux doesn't mean Ubuntu ;)
2016-10-25 19:36:43 +02:00
Craig Tiller c690768b15 Merge branch 'flow_control_v2' into bwest 2016-10-24 14:50:12 -07:00
Craig Tiller fe8c5012d3 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-24 14:49:18 -07:00
murgatroid99 b516cadc2a Merge branch 'master' into uv_core_transport 2016-10-21 15:54:42 -07:00
Mark D. Roth ae07f7fdc6 Merge remote-tracking branch 'upstream/master' into resolver_channel_args 2016-10-21 15:23:53 -07:00
Mark D. Roth af84245131 Remove resolver_result. 2016-10-21 15:05:15 -07:00
Craig Tiller 3f14e6df65 Merge branch 'flow_control_v2' into bwest 2016-10-20 15:53:50 -07:00
Craig Tiller 79fb584883 Merge branch 'bdp_est' into bwest 2016-10-20 15:47:19 -07:00
Craig Tiller dd2fa6482a Add pid controller test 2016-10-20 15:46:32 -07:00
Craig Tiller 9e0066b0c9 Add estimator test 2016-10-20 14:04:18 -07:00
Masood Malekghassemi aff6936cf7 Partially implement gRPC Python server reflection
Some features relating to proto2 extension querying are missing due to
missing upstream features required to support them (see
https://github.com/google/protobuf/issues/2248).
2016-10-20 12:47:06 -07:00
murgatroid99 10edf68eec Merge branch 'master' into uv_core_transport 2016-10-19 15:19:00 -07:00
Mark D. Roth eb35a1d16b Merge remote-tracking branch 'upstream/master' into rename_client_config 2016-10-19 14:53:42 -07:00
Craig Tiller 9ea0f2c6e8 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-19 14:44:53 -07:00
Mark D. Roth 20e77f27b0 Merge pull request #8303 from markdroth/service_config
Support service configs in core.
2016-10-19 14:20:51 -07:00
murgatroid99 59f347e125 Merge branch 'master' into uv_core_transport 2016-10-19 13:53:21 -07:00
Craig Tiller 6952b213b7 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-19 13:36:59 -07:00
kpayson64 fa95818efa Merge pull request #8414 from kpayson64/use_external_api
Change channel tests to use public API
2016-10-19 12:54:17 -07:00
Ken Payson 667301a25f Change channel tests to use public API
This allows for testing other implementations of grpc.Server.
2016-10-18 12:34:45 -07:00
Mark D. Roth 605a8f12ed Merge remote-tracking branch 'upstream/master' into service_config 2016-10-18 11:06:33 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Yuchen Zeng c007a6c879 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-17 14:33:29 -07:00
Craig Tiller 654b242ce7 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-17 14:31:44 -07:00
Craig Tiller 8c94df19d4 Merge github.com:grpc/grpc into direct-calls 2016-10-17 13:25:45 -07:00
kpayson64 8725595933 Merge pull request #7664 from kpayson64/cv_wakeup_fd
Add Shim for wakeup_fds with no pipe or
2016-10-17 13:12:22 -07:00
Craig Tiller a628c84e86 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-14 16:09:01 -07:00
murgatroid99 e76b87baa0 Merge branch 'master' into uv_core_transport 2016-10-14 14:50:08 -07:00
Mark D. Roth d7ec5e18ce Merge remote-tracking branch 'upstream/master' into service_config 2016-10-14 13:10:54 -07:00
Mark D. Roth 6a721b5b3f Rename grpc_hash_table to grpc_mdstr_hash_table. 2016-10-14 12:43:34 -07:00
Craig Tiller fd77de6a8a Merge github.com:grpc/grpc into direct-calls 2016-10-14 08:52:53 -07:00
Yuchen Zeng de3daf5d63 More interfaces for grpc_socket_mutator 2016-10-13 17:26:26 -07:00
kpayson64 448a16dd28 Merge pull request #8127 from kpayson64/allow_pointers
Allow pointer channel args python
2016-10-13 15:12:33 -07:00
Ken Payson 58c0f96f19 Allow pointer channel args python 2016-10-13 15:11:04 -07:00
Ken Payson 82e4ec741b Moved cv polling into ev_poll_posix.c 2016-10-13 12:26:01 -07:00
murgatroid99 c0aa97d158 Merge branch 'master' into uv_core_transport 2016-10-12 16:41:38 -07:00
Yuchen Zeng a4f708a4c4 Introduce grpc_socket_mutator 2016-10-11 18:36:24 -07:00
Yuchen Zeng 830c32c4a1 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-11 15:57:29 -07:00
Yuchen Zeng b5273fdb73 Merge remote-tracking branch 'upstream/master' into tos 2016-10-10 16:02:56 -07:00
Yuchen Zeng 929f4c652f Add tos configuration in channel args 2016-10-10 16:02:43 -07:00
Craig Tiller c99945e44c Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-10 10:20:48 -07:00
Craig Tiller fdc2b10dce Merge github.com:grpc/grpc into direct-calls 2016-10-10 10:16:35 -07:00
kpayson64 d195cf589d Add condition variable polling engine 2016-10-10 09:38:09 -07:00
Nathaniel Manista 062ba7b8ba Merge pull request #8324 from grpc/v1.0.x
v1.0.x → master upmerge.
2016-10-07 15:28:47 -07:00
Mark D. Roth 15195741d7 Merge remote-tracking branch 'upstream/master' into rename_client_config 2016-10-07 09:02:28 -07:00
Nathaniel Manista 84350e167d Drop unnecessary return statement 2016-10-04 20:25:53 +00:00
Yuchen Zeng 6988838a67 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-03 13:24:13 -07:00
Craig Tiller 1bb0ce5e23 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-03 12:58:02 -07:00
Craig Tiller 787d58f9e3 Merge github.com:grpc/grpc into direct-calls 2016-10-03 12:56:57 -07:00
murgatroid99 eebb129fd3 Merge branch 'master' into uv_core_transport 2016-10-03 09:33:29 -07:00
murgatroid99 c36f6ea745 Compile and link core tests with libuv 2016-10-03 09:24:09 -07:00
Mark D. Roth 408913845c Merge remote-tracking branch 'upstream/master' into service_config 2016-09-30 07:52:15 -07:00
Craig Tiller d88c461217 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-29 10:35:38 -07:00
Nicolas "Pixel" Noble 748524eea5 Merge branch 'master' of https://github.com/grpc/grpc into master-upmerge-from-deep-under 2016-09-29 19:28:28 +02:00
Craig Tiller ca3451de7a Merge github.com:grpc/grpc into direct-calls 2016-09-29 10:27:44 -07:00
Nicolas "Pixel" Noble 87a1081211 Merge remote-tracking branch 'google/v1.0.x' into master-upmerge-from-deep-under 2016-09-29 01:31:54 +02:00
Mark D. Roth 56e470e047 Merge remote-tracking branch 'upstream/master' into service_config 2016-09-28 13:20:15 -07:00
Mark D. Roth 94948b8774 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-28 13:19:01 -07:00
Nicolas Noble fbf8dd8a40 Merge pull request #8168 from markdroth/max_message_size_fix
Set default max send message size to unlimited.
2016-09-28 13:09:20 -07:00
Mark D. Roth 6600645135 Refactor hash table code into its own module and use it for method_config as well as method_config_table. 2016-09-27 10:13:56 -07:00
Mark D. Roth bec804b77f Merge branch 'deadline_filter' into service_config 2016-09-26 11:18:06 -07:00
Mark D. Roth 4c3a4688bb Move method config table code to its own module. 2016-09-23 15:19:26 -07:00
murgatroid99 08b0fab426 Merge branch 'master' into uv_core_transport 2016-09-23 14:35:49 -07:00
Craig Tiller d801cd7ed7 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-23 13:51:23 -07:00
Craig Tiller 5abf79a91b Merge github.com:grpc/grpc into direct-calls 2016-09-23 13:51:00 -07:00
Mark D. Roth 1a2e6ac10d Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-23 09:47:01 -07:00
Craig Tiller 0d19c67ea9 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-09-22 16:10:29 -07:00
Craig Tiller 7af69f34df Add buffer pools to build 2016-09-22 13:48:54 -07:00
Mark D. Roth 9a51cad472 Expose GRPC_ARG_MAX_SEND_MESSAGE_LENGTH channel arg in python. 2016-09-22 08:21:32 -07:00
Mark D. Roth 933c955aaf Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-21 08:12:11 -07:00
Mark D. Roth 3c09810ac9 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-21 08:01:05 -07:00
Craig Tiller 1edc77c7c6 Merge github.com:grpc/grpc into direct-calls 2016-09-20 11:02:51 -07:00
kpayson64 a6a6fa4f12 Merge pull request #8137 from kpayson64/python_server_args
Add parameter for server options
2016-09-19 15:44:48 -07:00
Ken Payson 63d8af2b00 Add parameter for server options 2016-09-19 14:16:24 -07:00
Jim King 9fec58f2b4 Merge pull request #8052 from Vizerai/grpc_tracing
grpc tracing context
2016-09-19 11:35:59 -07:00
Mark D. Roth 9710e2cb71 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-19 11:13:27 -07:00
murgatroid99 bcc60f75d4 Merge branch 'master' into uv_core_transport 2016-09-16 13:44:28 -07:00
murgatroid99 9030c81f20 Add a libuv endpoint to the C core, for use in the Node library 2016-09-16 13:25:08 -07:00
Mark D. Roth 85102a9eb6 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-16 13:24:05 -07:00
Mark D. Roth eaea5caab3 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-16 13:12:21 -07:00
Mark D. Roth 34dac9d4ca Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 13:06:26 -07:00
Craig Tiller ee43d7bbb1 Merge pull request #8069 from grpc/revert-8068-revert-7279-grand-unified-closures
Revert "Revert "Grand unified closures""
2016-09-16 12:11:11 -07:00
Mark D. Roth 8b7678cf84 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-16 10:51:15 -07:00
Mark D. Roth abf03aed93 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 07:35:37 -07:00
Craig Tiller ba1db3b630 Merge github.com:grpc/grpc into direct-calls 2016-09-15 15:57:35 -07:00
kpayson64 9544aadbaa Merge pull request #8065 from kpayson64/cygrpc_imports
Make .pxi imports relative to _cython directory rather than root.
2016-09-15 12:56:53 -07:00
Mark D. Roth 2137cd8e9b Rename client_config directory to client_channel. 2016-09-14 09:04:00 -07:00
Siddharth Shukla b24b5a39f8 Update argument documentation for channel methods
Update argument documentation for request_serializer and response_deserializer
in:

- unary_unary
- unary_stream
- stream_unary
- stream_stream
2016-09-14 00:38:36 +02:00
Mark D. Roth 3f6ab54f28 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-13 14:53:54 -07:00
Mark D. Roth 5e1b58bcea Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-12 16:59:00 -07:00
Craig Tiller 57726ca5a9 Revert "Revert "Grand unified closures"" 2016-09-12 11:59:45 -07:00
Craig Tiller 537f7c2a13 Revert "Grand unified closures" 2016-09-12 11:56:39 -07:00
Mark D. Roth 242dc4be0e Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-12 11:54:25 -07:00
Ken Payson 0651759392 Load roots.pem relative to current file 2016-09-11 22:36:19 -07:00
Ken Payson 7722245ce8 Make .pxi imports relative 2016-09-11 22:06:05 -07:00
Vizerai 12d1fc61d8 initial commit of tracing context files 2016-09-09 14:22:19 -07:00
Craig Tiller d8a3c048e2 Tie workqueue implementation to event engine 2016-09-09 12:42:37 -07:00
Mark D. Roth f451d50d4c Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-09 07:24:52 -07:00
Craig Tiller 8f416dbb97 Merge github.com:grpc/grpc into grand-unified-closures 2016-09-08 09:54:03 -07:00
Mark D. Roth ebfcd97940 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-08 07:16:34 -07:00
Nicolas "Pixel" Noble 5928bff0c7 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-09-08 01:58:49 +02:00
Mark D. Roth c890042118 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-07 09:18:04 -07:00
Mark D. Roth 164f0e926d Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-07 09:14:50 -07:00
Craig Tiller 344834b40b Merge github.com:grpc/grpc into grand-unified-closures 2016-09-07 08:39:05 -07:00
Craig Tiller e0321637d7 Merge pull request #7774 from ctiller/percent-encoder
Percent encoding routines
2016-09-06 22:08:12 -07:00
Nicolas Noble 74c92f62d9 Merge pull request #7848 from nicolasnoble/upmerge-from-v1.0.x
Manual upmerge from v1.0.x
2016-09-06 11:41:26 -07:00
Mark D. Roth 6c3295a5a2 Merge remote-tracking branch 'upstream/master' into http_connect 2016-09-06 11:04:11 -07:00
Mark D. Roth 7bfa1a8343 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-06 10:44:32 -07:00
Craig Tiller 255dad3630 Merge github.com:grpc/grpc into grand-unified-closures 2016-09-02 09:15:23 -07:00
Yuchen Zeng 5b159f29e0 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-09-01 22:40:28 -07:00
Mark D. Roth fb475c93c4 Merge remote-tracking branch 'upstream/master' into deadline_filter 2016-09-01 14:22:55 -07:00
Mark D. Roth 79620aaa10 Merge pull request #7943 from markdroth/client_channel_cleanup
Move subchannel_call_holder code into client_channel module.
2016-09-01 13:12:56 -07:00
Mark D. Roth 89119fa9b6 Merge branch 'client_channel_cleanup' into deadline_filter 2016-09-01 08:29:56 -07:00
Mark D. Roth 4c0fe49f76 Move subchannel_call_holder code into client_channel module. 2016-08-31 13:51:55 -07:00
Mark D. Roth 7331a7aa62 Change wrapped languages to use the new channel arg macro name. 2016-08-31 13:09:27 -07:00
Alistair Veitch a0c69f9099 add trace context proto 2016-08-31 12:01:27 -07:00
Mark D. Roth ceb39ae60c Merge remote-tracking branch 'upstream/master' into http_connect 2016-08-31 10:46:58 -07:00
Craig Tiller dadda8bf52 Merge github.com:grpc/grpc into grand-unified-closures 2016-08-30 20:51:45 -07:00