Commit Graph

1186 Commits

Author SHA1 Message Date
David Garcia Quintas 4a0f8ea535 Merge branch 'sync_async_mix' of https://github.com/yang-g/grpc into yang-g-sync_async_mix 2016-01-19 14:51:55 -08:00
vjpai c833c82c08 Merge branch 'master' into corelimit2 2016-01-19 13:37:33 -08:00
vjpai 861eb9f13a Fix copyrights for sanity 2016-01-19 13:37:27 -08:00
vjpai 2c42bb1d18 Copyright fixes for sanity 2016-01-19 13:02:42 -08:00
vjpai cd624d2eee Dealt with a nit 2016-01-19 11:40:10 -08:00
David Garcia Quintas 1aeabd7194 regenerated projects 2016-01-19 11:23:37 -08:00
Vijay Pai d3ea2708cc Re-enable explicit specification of server port for qps worker. Also
add in a check that we don't try to use generic testing for sync or unary.
2016-01-19 10:59:42 -08:00
David Garcia Quintas 13e294e090 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-19 10:37:50 -08:00
vjpai f6269a4dca Merge branch 'master' into corelimit2 2016-01-19 08:01:47 -08:00
vjpai caace811b4 Fix asan error caused by mismatch in alloc/dealloc between new[] and
regular delete...
2016-01-18 22:15:55 -08:00
yang-g b971173712 Add tests with a second service 2016-01-15 16:53:08 -08:00
yang-g 15b8050675 Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-15 16:07:36 -08:00
David Garcia Quintas aa9b01c7c0 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-15 14:19:17 -08:00
yang-g 4fac82b672 remove outdated api 2016-01-15 13:15:32 -08:00
yang-g ad63510102 Add a test with two methods generic 2016-01-15 13:11:37 -08:00
yang-g 9f17314a35 move utilities to a separate file 2016-01-15 12:46:40 -08:00
David Garcia Quintas 3c1720c984 Updated copyrights... 2016-01-15 12:16:03 -08:00
David Garcia Quintas 17fe83b5ba Merge branch 'master' of github.com:grpc/grpc into check_newlines 2016-01-15 11:39:08 -08:00
yang-g c021c9be5b clang-format 2016-01-15 11:28:35 -08:00
yang-g 269b8be406 add generic test 2016-01-15 10:46:26 -08:00
yang-g 8053d2feb6 Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-15 08:53:15 -08:00
David Garcia Quintas 45484b31bb Added sanity check for trailing newlines 2016-01-14 19:01:00 -08:00
yang-g d6f7d99dc6 Add a hybrid end2end test mixing sync and async methods 2016-01-14 16:04:20 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
yang-g be5a2c4f04 working test 2016-01-14 13:11:15 -08:00
yang-g 25f191d49b merge with head 2016-01-14 11:51:11 -08:00
David Garcia Quintas 88447cbbad Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-14 11:38:21 -08:00
murgatroid99 ace28d3f98 Fix copyrights again 2016-01-14 10:12:10 -08:00
yang-g b9a1377fab Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-14 09:50:48 -08:00
Yang Gao cd0683330e Merge pull request #4720 from sreecha/import_issues
Rename TestService to EchoTestService to prevent name-conflict with 'TestService' in test.proto
2016-01-14 09:16:56 -08:00
Craig Tiller 754bd26e28 clang-format code 2016-01-14 06:10:15 -08:00
Sree Kuchibhotla b0d0c8e8c2 FormatCode 2016-01-13 22:52:17 -08:00
Sree Kuchibhotla 5a05f51a1c Rename TestService to EchoTestService to prevent name-conflict with
'TestService' in test.proto
2016-01-13 22:43:20 -08:00
murgatroid99 eeb02ba77a Update copyrights again 2016-01-13 20:43:33 -08:00
yang-g d42262e22e merge with head 2016-01-13 15:32:51 -08:00
Vijay Pai b9a8f1ba39 Merge branch 'master' into corelimit2 2016-01-13 13:29:41 -08:00
Vijay Pai 947ab265bd Merge branch 'master' into bbuf 2016-01-13 12:25:33 -08:00
Vijay Pai 3448c27275 clang-format 2016-01-13 11:17:13 -08:00
Vijay Pai 0e66efdadd Make core limitation work for both client and server so that we can run tests on the same
machine if desired. The core_list flags to qps_driver are comma-separated lists of
core numbers.
2016-01-13 11:15:49 -08:00
yang-g dc548ed65d merge with head 2016-01-13 10:42:19 -08:00
David Garcia Quintas 0892fa6aa6 Added copyright message to generated nanopb code 2016-01-12 16:22:34 -08:00
David Garcia Quintas 23f28a9b2c Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-12 15:41:59 -08:00
murgatroid99 3466c4b55d Updated copyrights 2016-01-12 10:26:04 -08:00
David Garcia Quintas 82a0bdc314 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-11 14:08:29 -08:00
David Garcia Quintas 756a36cdac Srcs and hdrs sanity checks skip third_party 2016-01-11 11:31:19 -08:00
Vijay Pai 5bd6f2e190 Merge branch 'master' into bbuf 2016-01-11 10:33:39 -08:00
Vijay Pai b30bc2aad6 Remove dead code and a thus unneeded change to C++ bbuf 2016-01-11 10:11:50 -08:00
Vijay Pai 6045681003 Merge branch 'master' into bbuf 2016-01-11 10:08:26 -08:00
Vijay Pai 78268212ba clang-format 2016-01-11 09:55:02 -08:00
Vijay Pai af2e1cf080 Fix bugs and include build files 2016-01-11 09:54:23 -08:00
vjpai 083dc62cf6 Generic test 2016-01-11 09:41:17 -08:00
David Garcia Quintas 4dfe317e5d Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-08 15:50:45 -08:00
Craig Tiller 7cc0f464d1 Merge github.com:grpc/grpc into proto_names 2016-01-07 16:37:03 -08:00
Vijay Pai 9f991e252d More changes needed for generic support 2016-01-07 14:08:09 -08:00
Craig Tiller 15f383c6cc Exploratory refactoring for mixed sync/async methods on the same C++ service 2016-01-07 12:45:32 -08:00
Vijay Pai 31c0c7949f clang-format 2016-01-07 11:43:46 -08:00
vjpai de332dfcac Refactor server side to support generic tests. 2016-01-07 10:20:46 -08:00
Yang Gao 848ee629dd Merge pull request #4631 from sreecha/stress_test_logging
Add ability to control the verbosity of stress test logs
2016-01-06 23:01:21 -08:00
Craig Tiller 54ed674d40 Merge github.com:grpc/grpc into proto_names 2016-01-06 17:05:34 -08:00
Sree Kuchibhotla 7cecfa6c48 Adjust the log levels in interop tests and stress tests 2016-01-06 08:09:02 -08:00
Sree Kuchibhotla 0fa95eab81 Ability to filter log messages based on log level 2016-01-06 07:58:10 -08:00
Vijay Pai 18c0477528 Got rid of all compilation problems, now need to test 2016-01-04 09:52:10 -08:00
Vijay Pai e488668075 WIP 2015-12-30 11:56:19 -08:00
vjpai 994f8f76e7 Merge branch 'master' into bbuf 2015-12-30 09:33:39 -08:00
David Garcia Quintas 8974a6681c Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2015-12-24 19:36:38 +01:00
Craig Tiller 00f8702c5e Merge branch 'yawn' into proto_names 2015-12-22 14:23:51 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
Craig Tiller 0fe5ee7be3 BoringSSL integration: non-vsprojects changes 2015-12-22 12:50:36 -08:00
vjpai be75ffd028 Merge branch 'master' into bbuf 2015-12-22 10:40:16 -08:00
Craig Tiller dacb389907 Fix method name 2015-12-17 19:31:00 -08:00
Craig Tiller 1b4e33029e Consolidate C++ proto files under src/proto
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
David Garcia Quintas 7052ac25e6 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2015-12-16 17:36:04 -08:00
Yang Gao 5ff97a27a9 Merge pull request #4479 from ctiller/aarons-bug
Fix double read at end of stream bug
2015-12-16 09:52:47 -08:00
David Garcia Quintas a2b7817481 Removed compression checks from vanilla large unary 2015-12-15 22:35:08 -08:00
Craig Tiller ca9a637877 Fix double read at end of stream bug 2015-12-15 18:16:28 -08:00
Craig Tiller 620e965c1b clang-format after last weeks test-fest 2015-12-14 12:02:50 -08:00
Yang Gao 5b763f5355 Merge pull request #4362 from vjpai/coverage-serve2
Cover an unsupported case of mixing sync and async service in server
2015-12-09 12:50:58 -08:00
vjpai 017ed62ce4 Cover an unsupported case of mixing sync and async service in same server 2015-12-09 10:42:54 -08:00
vjpai ba2b8ed553 Add a case to cover multiple adds of generic service 2015-12-09 10:24:47 -08:00
Craig Tiller 56a363f36c Fix for when grpc::string is not the same type as FLAGS_... 2015-12-03 16:37:27 -08:00
David Garcia Quintas 011e79a271 Merge branch 'master' of github.com:grpc/grpc into grpclb_api
# Conflicts:
#	BUILD
#	Makefile
#	binding.gyp
#	build.yaml
#	gRPC.podspec
#	tools/doxygen/Doxyfile.core.internal
#	tools/run_tests/sources_and_headers.json
#	vsprojects/vcxproj/grpc/grpc.vcxproj
#	vsprojects/vcxproj/grpc/grpc.vcxproj.filters
#	vsprojects/vcxproj/grpc_unsecure/grpc_unsecure.vcxproj
#	vsprojects/vcxproj/grpc_unsecure/grpc_unsecure.vcxproj.filters
2015-12-03 13:09:54 -08:00
Craig Tiller 35c1d3c462 Merge pull request #4207 from yang-g/server_builder_options
Server builder options
2015-12-03 11:39:44 -08:00
Nicolas "Pixel" Noble f9c58f3bf7 Merge branch 'release-0_12'
Conflicts:
	src/core/security/credentials.c
	test/core/security/credentials_test.c
2015-12-01 22:40:44 +01:00
vjpai 594f0c43e0 Merge branch 'master' into bbuf 2015-11-30 15:53:49 -08:00
vjpai b6df94ad22 WIP 2015-11-30 15:52:50 -08:00
yang-g 52705590e4 Add set pointer api to channel_arguments 2015-11-25 11:45:33 -08:00
yang-g d9f6101967 merge with head 2015-11-24 10:39:23 -08:00
yang-g 3ff9727a37 merge with head 2015-11-20 17:01:57 -08:00
Sree Kuchibhotla e1330ff451 Add multiple channels to each server 2015-11-20 10:03:32 -08:00
Julien Boeuf 114f39475f Cpp example of how the plugins can be done. 2015-11-19 22:24:05 -08:00
Sree Kuchibhotla bc3127d4c3 Address code review comments 2015-11-19 10:32:59 -08:00
Sree Kuchibhotla dbf9061033 Merge branch 'master' into stress_tests_metrics 2015-11-19 10:29:39 -08:00
Sree Kuchibhotla 52a514a250 Address code review comments 2015-11-19 10:28:47 -08:00
David G. Quintas 6d8063261b Merge pull request #4097 from ctiller/hpack_max_table_size
Support dynamic HPACK table resizing
2015-11-19 09:56:25 -08:00
Jan Tattermusch 846ae8d9c2 Merge pull request #4156 from jtattermusch/perf_testing_polishing
Performance proto polishing
2015-11-19 09:51:54 -08:00
Sree Kuchibhotla 87f51663ee Merge branch 'master' into stress_tests_metrics 2015-11-19 08:48:56 -08:00
Jan Tattermusch c5ebbd5b8f use new perf proto options in c++ 2015-11-18 17:17:34 -08:00
yang-g 71b962634e merge with head 2015-11-18 11:41:30 -08:00
Craig Tiller ab5611da62 Merge github.com:grpc/grpc into hpack_max_table_size 2015-11-18 11:27:35 -08:00
David G. Quintas 75b53d6a5d Merge pull request #3993 from ctiller/new_op
Core transport & call cleanup
2015-11-18 08:52:10 -08:00
Julien Boeuf 232d625a84 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 20:55:13 -08:00
Julien Boeuf 6049ebd8d2 More C++ fixes (the merge did not quite work...). 2015-11-17 16:53:52 -08:00
Julien Boeuf 9a437c2c46 Forgot to fix driver.cc somehow... 2015-11-17 16:38:52 -08:00
Julien Boeuf 675b5ce861 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 15:05:45 -08:00
yang-g a89bf50cf1 Handle cancel before start case 2015-11-17 14:19:17 -08:00
David Garcia Quintas 5dc96fb5b8 Comments 2015-11-17 09:58:34 -08:00
David Garcia Quintas 5de1616336 Fix naming issue in stress_test
(via ahh@google.com)
Under some configurations gRPC includes google3 base headers.  google3
has a namespace "thread" which mixes poorly with unqualified use of the
type std::thread; adding that namespace to various google3 headers
breaks this test.
2015-11-17 09:39:39 -08:00
Sree Kuchibhotla cffb1c220b Merge branch 'master' into stress_tests_metrics 2015-11-16 14:47:59 -08:00
Sree Kuchibhotla b047c0fc9b Address code review comments 2015-11-16 14:41:04 -08:00
David Garcia Quintas ff03847182 Moved nanopb to 3rd party 2015-11-12 09:27:13 +00:00
Craig Tiller 3c53bb2f46 clang-format 2015-11-10 14:24:36 +00:00
yang-g c9fca1813a refacto of the reconnect tcp server to a general purpose test tcp server to be reused by the set_initial_string_test 2015-11-06 16:41:33 -08:00
Craig Tiller 61ed001585 Merge github.com:grpc/grpc into new_op 2015-11-05 09:55:47 -08:00
vjpai fba20c987d Address some review comments about signal and restoring qps_test_with_poll
Make payloads respect the new defaults
2015-11-04 14:49:17 -08:00
Sree Kuchibhotla c36b480ce9 Fix a small error 2015-11-04 14:25:05 -08:00
vjpai 3affdddf5b Add secure testing to sweep 2015-11-04 13:13:25 -08:00
vjpai f8603adba1 Secure performance testing for C++ is in the hizzouse! 2015-11-04 12:49:33 -08:00
vjpai 454074369e Better reasonable default 2015-11-04 08:33:49 -08:00
vjpai 783c144afa Fix up single run test
Enable reasonable default if resp size not specified
2015-11-04 08:29:33 -08:00
Craig Tiller a147aee75a Merge github.com:grpc/grpc into new_op 2015-11-04 07:29:22 -08:00
Vijay Pai ce84670628 clang-format 2015-11-04 00:30:12 -08:00
vjpai 780a7f205d Add in security support, make payload protos configurable
Have not yet added tests with security support, coming soon
2015-11-04 00:19:09 -08:00
David Garcia Quintas 49433744ee Proto API for LB request/responses 2015-11-03 23:53:42 -08:00
Sree Kuchibhotla 4d0f2f9dab Fix typo in my previous commit. %s/guage/gauge/g 2015-11-03 15:55:43 -08:00
Sree Kuchibhotla b5e98c5c69 Make number of stubs per channel configurable and expose metrics from
client
2015-11-03 14:12:13 -08:00
vjpai d08a738166 Cleanup some names
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
2015-11-02 16:45:08 -08:00
vjpai 9b14e15165 Merge commit '6bf1de9' into protosplit 2015-11-02 14:50:28 -08:00
vjpai 6bf1de9ab2 Mark a method with GRPC_OVERRIDE to avoid compiler warning 2015-11-02 14:48:57 -08:00
vjpai aa39192d70 Cleanup directory and make minor changes 2015-11-02 14:46:04 -08:00
Craig Tiller 93b944785c stream_op cleanup: test fixes and updates 2015-11-02 14:18:30 -08:00
vjpai 11537dc71c Merge remote-tracking branch 'upstream/master' into protosplit 2015-11-02 09:22:10 -08:00
vjpai 72a6332138 QPS worker no longer needs to specify server port on command line. This is part
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
2015-10-29 02:23:11 -07:00
vjpai 119c103ab0 Split up into a new service proto, use proper service suffix, add a
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
2015-10-29 01:21:04 -07:00
vjpai 754751e3c6 Numerous proto changes to make things more sane and fix some outstanding issues 2015-10-28 09:16:22 -07:00
Nicolas Noble ceced33a49 Merge pull request #3962 from sreecha/skip_stress_tests
Skip running stress_tests on jenkins by run_tests.py
2015-10-26 17:35:38 -07:00
Sree Kuchibhotla f51ea7aab9 Explicitly use grpc::string instead of std::string to be consistent with other test code 2015-10-26 13:50:40 -07:00
Sree Kuchibhotla 117c8af8d3 Skip running stress_tests on jenkins by run_tests.py (This will fix the
issue addressed by commit: e6cd0e70a9, the right way)
2015-10-26 11:01:11 -07:00
David Garcia Quintas ba4290a82d Removed 'using' conflicting with import 2015-10-23 15:31:04 -07:00
Sree Kuchibhotla e6cd0e70a9 Return success if there are no test cases to run 2015-10-22 15:56:07 -07:00
Sree Kuchibhotla 119062428f Fix the error reported by tools/run_tests/check_sources_and_headers.py 2015-10-22 15:04:26 -07:00
Sree Kuchibhotla 41b2143dcb Address code review comment 2015-10-22 10:42:47 -07:00
Sree Kuchibhotla 7f729f5ad8 Merge branch 'master' into stress_tests_new 2015-10-22 10:38:22 -07:00
vjpai 52bfb2564f Split qpstest.proto into two parts - one for performance stats and
one for control.
Eliminate the use of our own SimpleRequest and SimpleResponse and
instead share the one from end2end testing
2015-10-21 07:50:49 -07:00
Sree Kuchibhotla ac7edec71f Add an option to reuse the TestService::Stub in interop client class 2015-10-20 16:45:52 -07:00
Sree Kuchibhotla 2bc3ac3032 Merge branch 'stress_tests_new' of github.com:sreecha/grpc into stress_tests_new 2015-10-19 16:22:41 -07:00
Sree Kuchibhotla fbc376f935 Interop stress tests 2015-10-19 16:15:51 -07:00
vjpai 0cc1341199 Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps 2015-10-19 12:21:45 -07:00
Julien Boeuf 3bb61d8917 Merge branch 'master' of https://github.com/grpc/grpc into core_creds_api_change 2015-10-17 22:14:29 -07:00
Sree Kuchibhotla 728a6104d5 Interop stress tests 2015-10-16 10:56:31 -07:00
David Garcia Quintas 5f9e979e8c Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-13 15:26:33 -07:00
David Garcia Quintas 9c97aaed08 Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-12 21:21:18 -07:00
Julien Boeuf 18a12c4e9b Fixing zookeeper tests as well. 2015-10-12 15:05:59 -07:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Craig Tiller 2b15f1e25a Merge github.com:grpc/grpc into latent-see 2015-10-09 17:07:56 -07:00
Craig Tiller 0ba432d445 Move profiling system to gpr 2015-10-09 16:57:11 -07:00
Craig Tiller 1f41b6b5ed Simplify adding annotations, annotate more things 2015-10-09 15:07:02 -07:00
Sree Kuchibhotla 1f0846d127 Merge pull request #3692 from dgquintas/inspector_fail
Fixed unprotected access to call field
2015-10-09 10:57:08 -07:00
Vijay Pai df58c81fb2 Merge pull request #3698 from ctiller/qps_test_be_locky
Add a timeout to benchmark test runs
2015-10-08 22:41:07 -07:00
David Garcia Quintas 0c331880d0 Hid test-only functions from surface/call.h 2015-10-08 14:57:11 -07:00
Craig Tiller b37391ef45 Merge github.com:grpc/grpc into latent-see 2015-10-08 14:53:19 -07:00
David Garcia Quintas 7a0ae4c7f7 Merge branch 'master' of github.com:grpc/grpc into cq_alarm 2015-10-08 13:32:32 -07:00
Craig Tiller 86253ca1da Latency traces 2015-10-08 13:31:02 -07:00
David Garcia Quintas 7fd0fd5023 C++ Alarm implementation (with tests). 2015-10-07 19:04:58 -07:00
yang-g a006b5f33b change default value of use_test_ca 2015-10-07 13:14:35 -07:00
Craig Tiller b17b7f4871 Add a timeout to benchmark test runs 2015-10-07 08:48:51 -07:00
yang-g 92981d5c3d remove flag use_prod_roots in interop test and add use_test_ca per the interop test spec 2015-10-06 14:45:01 -07:00
Craig Tiller 91054e6855 Merge pull request #3627 from yang-g/flake2
Deflake end2end_test
2015-10-05 11:21:49 -07:00
yang-g c04610357c The Writes may return false after the server cancels the stream 2015-10-02 16:22:43 -07:00
Jan Tattermusch 1f8efa266d Merge pull request #3386 from yang-g/enable_ssl
enable_ssl to use_tls
2015-10-02 13:37:30 -07:00
Vijay Pai 7a94236d69 Merge pull request #3556 from ctiller/clangf
Fix clang-format script
2015-10-01 23:23:50 -07:00
yang-g 035cf093de enable_ssl to use_tls 2015-10-01 11:39:24 -07:00
yang-g 0d55750cb2 Maybe it is already ready when we call getstatus 2015-10-01 11:34:00 -07:00
Craig Tiller b7a597771f Merge github.com:grpc/grpc into clangf 2015-10-01 08:01:58 -07:00
Vijay Pai f37cac7dd2 Merge pull request #3565 from yang-g/end2end_test
Add more test cases to end2end test.
2015-09-30 14:36:41 -07:00
Vijay Pai 8423203cbb For compatibility with gcc-4.4, eliminate use of sleep_for and
std::atomic
2015-09-29 23:16:08 +00:00
yang-g bf22e0e8a0 remove anonymous namespace in anonymous namespace 2015-09-29 12:50:07 -07:00
yang-g 88d5d52d73 add tls and proxy as dimensions of end2end test 2015-09-29 12:47:51 -07:00
Craig Tiller 71a0f9d3b0 Fix clang-format script 2015-09-28 17:22:01 -07:00
Vijay Pai fa6e70ff85 Remove one pessimizing std::move 2015-09-28 15:56:07 -07:00
Nicolas Noble 0f9a118f4e Merge pull request #3474 from ctiller/clang_format
Add clang-format to sanity
2015-09-25 22:04:11 -07:00
Yang Gao b09a875917 Merge pull request #3476 from vjpai/block_annotate
Annotate blocking points
2015-09-25 13:54:51 -07:00
Craig Tiller dd69342218 Merge github.com:grpc/grpc into clang_format 2015-09-25 09:56:52 -07:00
vjpai 3ca49d2a1a Add a todo regarding a C++ block annotation 2015-09-24 21:55:16 -07:00
Craig Tiller ddf3a511aa Add clang-format to sanity 2015-09-24 13:03:44 -07:00
Craig Tiller b0bd53a173 Merge github.com:grpc/grpc into shindig
Conflicts:
	src/core/surface/secure_channel_create.c
2015-09-22 16:24:12 -07:00
Julien Boeuf 8b0b6f413d It is a bad idea to have a map with string_refs as output params.
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
2015-09-22 13:31:16 -07:00
Craig Tiller 10ee2747a9 Merge github.com:grpc/grpc into we-are-one 2015-09-22 09:25:57 -07:00
Craig Tiller f9dd54c2eb Merge pull request #3378 from yang-g/connection_failure_detection
remove connectivity watcher from interested party early
2015-09-22 08:28:22 -07:00
yang-g 78bddc66b7 Add empty_stream test case 2015-09-21 10:32:17 -07:00
yang-g 5e8abedd61 use seconds 2015-09-18 01:31:57 -07:00
yang-g d886f33939 add a test 2015-09-18 01:24:14 -07:00
Julien Boeuf fd2f7331fa Merge branch 'master' of github.com:grpc/grpc into core_creds_plugin 2015-09-15 15:20:26 -07:00
Julien Boeuf 1928d496a2 Adding C++ tests and fixing a few things. 2015-09-15 15:20:11 -07:00
Craig Tiller 8cf0ed03d1 Fix mac build 2015-09-10 22:37:25 -07:00
Craig Tiller 138de60a1e Merge pull request #3174 from vjpai/shutitdown2
Put timeout on QPS test server shutdown
2015-09-10 21:56:37 -07:00
David G. Quintas 8df85003f8 Merge pull request #3218 from yang-g/interop
Interop test update
2015-09-08 15:06:02 -07:00
Craig Tiller 2311d4918f Merge pull request #3186 from grpc/release-0_11
Daily Release 0.11 upport to master
2015-09-03 17:16:03 -07:00
yang-g 8e1e22784d Merge remote-tracking branch 'upstream/master' into interop 2015-09-03 12:35:34 -07:00
Nicolas "Pixel" Noble 59588c6162 Removing pessimizing moves.
Pass #2.
2015-09-03 02:29:30 +02:00
yang-g d55ce144bb Merge remote-tracking branch 'upstream/master' into interop 2015-09-02 15:55:15 -07:00
yang-g 201ef59847 more changes 2015-09-02 15:55:10 -07:00
yang-g 867d0c132c Fix auth tests 2015-09-02 14:33:15 -07:00
Craig Tiller 93ddc61c10 Fix compilation 2015-09-02 07:57:48 -07:00
Nicolas "Pixel" Noble 7fa51677bc Removing pessimizing moves.
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
2015-09-02 02:29:16 +02:00
Craig Tiller 1fdb05b498 Merge github.com:grpc/grpc into daisy-dukes
Conflicts:
	build.json
	vsprojects/Grpc.mak
2015-09-01 17:13:30 -07:00
vjpai d514b21cc8 Put timeout on server shutdown 2015-08-31 16:27:35 -07:00
Craig Tiller 1ebb7c885e Hand-written changes 2015-08-31 15:53:36 -07:00
Craig Tiller a4517a2020 Remove C++11isms 2015-08-31 07:29:12 -07:00
Craig Tiller 61575651ab Merge github.com:grpc/grpc into daisy-dukes 2015-08-31 07:11:54 -07:00
Julien Boeuf 0d47192afa Fixing headers and paths after merge with upstream. 2015-08-30 22:18:50 -07:00
Julien Boeuf 821de3439f Addressing comments. 2015-08-28 16:31:20 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
Julien Boeuf 97cd4ae606 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-28 15:51:02 -07:00
Julien Boeuf 6c7185d350 Merge branch 'master' of github.com:grpc/grpc into credentials_naming_and_cleanup 2015-08-28 14:33:17 -07:00
Julien Boeuf 68ff03a952 Fixing AuthContext tests. 2015-08-28 14:21:24 -07:00
Julien Boeuf a883ccfb46 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-28 14:13:04 -07:00
Julien Boeuf 0c711ad88b Adding C++ metadata processor.
- Had to chnage the core API to add a destroy function pointer in
  grpc_auth_metadata_processor.
- Tested end to end.
- Fixed some issues in the server_auth_filter (we were not checking the
  length which put us at risk of an overflow).
2015-08-28 14:10:58 -07:00
Craig Tiller 89d56103eb Merge pull request #3104 from yang-g/create_channel
Create channel API change
2015-08-27 21:04:56 -07:00
Julien Boeuf 421738b529 Addressing comments, round 2. 2015-08-27 16:34:44 -07:00
Julien Boeuf 459faf3821 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-27 16:07:46 -07:00
Julien Boeuf fe4bacb641 Merge branch 'credentials_naming_and_cleanup' of github.com:jboeuf/grpc into credentials_naming_and_cleanup 2015-08-27 15:49:27 -07:00
Julien Boeuf 4eaeb992d3 Addressing comments. 2015-08-27 15:41:52 -07:00
yang-g 730055d962 implementation fix 2015-08-27 12:29:45 -07:00
Craig Tiller 958ee76018 IWYU 2015-08-27 08:09:50 -07:00
Craig Tiller 70a816807f Friends dont let friends use volatile for synchronization 2015-08-27 07:46:20 -07:00
yang-g 0d9f81f741 minor fixes 2015-08-26 22:04:30 -07:00
Rakesh Iyer 4abe76eff5 Repro case for flow control bug.
This is a repro case for a bug where if the client is sending
full throttle and the receiver is not able to keep up, the
client reaches a case where it doesn't make forward progress
anymore.

Signed-off-by: Craig Tiller <craig.tiller@gmail.com>
2015-08-26 16:38:36 -07:00
Julien Boeuf 5b3516e2c5 Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor 2015-08-26 11:19:10 -07:00
yang-g 5e700f3d1f Merge remote-tracking branch 'upstream/master' into string_ref_auth 2015-08-26 10:16:31 -07:00
Craig Tiller afbbaf9c3e Merge pull request #3065 from yang-g/string_ref
Use string_ref for incoming metadata
2015-08-26 08:22:42 -07:00
David G. Quintas 52730d3bea Merge pull request #3035 from ctiller/naming-crisis
Refactor default host name resolution
2015-08-25 22:32:03 -07:00
Julien Boeuf 510a920c75 Credentials cleanup:
- Removing service_accounts credentials. These credentials just have
  drawbacks compared to service_account_jwt_access credentials, notably
  in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
  C++. This should be done as well for wrapped languages.
2015-08-25 21:51:07 -07:00
yang-g d090fe1379 auth context api change for string_ref 2015-08-25 16:53:07 -07:00
David Garcia Quintas 04ecfa1ad7 Added missing payloads to streaming compressed test 2015-08-25 14:19:48 -07:00
Craig Tiller 9dee67b5cf Merge github.com:grpc/grpc into naming-crisis 2015-08-25 14:05:30 -07:00
yang-g e21908fcee impl 2015-08-25 13:47:51 -07:00
vjpai 2098863a90 Make certain constants unsigned to please compiler on Mac 2015-08-25 09:08:47 -07:00
Julien Boeuf bf9a8f8d7c Fixing tests. 2015-08-25 07:45:35 -07:00
Craig Tiller dc31ef38d2 Loosen test requirements to better fit spec 2015-08-25 07:11:35 -07:00
Julien Boeuf 0382bfae38 Merge branch 'master' of github.com:grpc/grpc into cpp_string_ref 2015-08-24 23:55:43 -07:00
Julien Boeuf 8fd915ab8d Adding grpc::string_ref class.
- Strict subset of
  http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
- Useful to avoid unnecessary string copies.
2015-08-24 23:41:54 -07:00
yang-g 3e4bd9598b merge with head 2015-08-24 15:54:07 -07:00
Vijay Pai 0660eaca00 Merge branch 'master' into fray 2015-08-24 14:33:39 -07:00
Vijay Pai e8a7e30a75 Eliminate public thread-pool interface 2015-08-24 10:52:33 -07:00
Craig Tiller b7e22b9686 Merge github.com:grpc/grpc into y12kdm3 2015-08-21 16:06:30 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g d392fa04c5 fix shutdown_test 2015-08-20 13:55:29 -07:00
yang-g 961eeb0b44 Merge remote-tracking branch 'upstream/master' into docs 2015-08-20 12:18:28 -07:00
Yang Gao 48c9f250c2 Merge pull request #2977 from ctiller/shutdown-c++
Add a deadline to Server::Shutdown
2015-08-19 21:49:10 -07:00
yang-g 8c2be9f228 Remove ChannelInterface and replace it with Channel 2015-08-19 16:28:09 -07:00
David Garcia Quintas 5fd685556f Moved methods' impl to header for simplicity 2015-08-19 15:59:38 -07:00
Craig Tiller 65d3ab2add Merge github.com:grpc/grpc into y12kdm3 2015-08-19 12:53:11 -07:00
Vijay Pai 6d8d0144c8 Merge pull request #2975 from dgquintas/no_foreach_44
removed foreach loops for gcc 4.4
2015-08-19 09:30:23 -07:00
Craig Tiller 4d90b21b92 Merge github.com:grpc/grpc into y12kdm3 2015-08-19 08:00:45 -07:00
David Garcia Quintas 81491b6043 Removed function introducing dependency on proto in .h 2015-08-18 16:46:53 -07:00
Craig Tiller 128f4a9cfe Merge github.com:grpc/grpc into y12kdm3 2015-08-18 12:51:05 -07:00
Craig Tiller 5c6e6276be Merge github.com:grpc/grpc into shutdown-c++ 2015-08-18 12:45:09 -07:00
Craig Tiller e50e5cbde2 Add a timeout to shutdown to forcefully end calls 2015-08-18 12:44:57 -07:00
David Garcia Quintas 2a6427ffdb removed foreach loops for gcc 4.4 2015-08-18 11:12:55 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
Craig Tiller bb1c795f99 Merge pull request #2965 from yang-g/lame_client_error_message
Let lame_client accept error status
2015-08-18 09:27:28 -07:00
David Garcia Quintas 935c171ee8 Merge branch 'master' of github.com:grpc/grpc into compression-interop 2015-08-17 18:28:00 -07:00
yang-g c31cd86a74 Let lame_client accept error status 2015-08-17 15:37:27 -07:00
Craig Tiller 8f7bff7d48 Merge github.com:grpc/grpc into y12kdm3 2015-08-17 13:23:14 -07:00
David G. Quintas bd0d1bd5d9 Merge pull request #2549 from hongweiwang/zookeeper
Zookeeper name resolver
2015-08-14 10:06:03 -07:00
Julien Boeuf 455dc6ff0d Merge branch 'master' of https://github.com/grpc/grpc into cpp_auth_md_processor 2015-08-13 22:25:15 -07:00
Julien Boeuf c2274e7069 Adding C++ auth metadata processor.
- We always do the processing asynchronously but maintain a synchronous
  API for the implementor of the processor.
- there are a lot of string copies right now. Having a StringPiece
  object in grpc++ would really help with that (as we would use it for
  C++ metadata).
- Please review the API carefully and if you're happy with it, I'll
  proceed with tests.
2015-08-13 17:25:52 -07:00
Hongwei Wang c3f48c80d4 Minor fix on comments 2015-08-13 17:22:58 -07:00
Hongwei Wang 85ad685e57 Address comments and update grpc plugins 2015-08-13 16:13:10 -07:00
Vijay Pai 8c0389d84e Merge pull request #2921 from yang-g/unknown_service
Use a sync service to handle requests to unknown services
2015-08-13 15:30:01 -07:00
David Garcia Quintas 864d18650e proto3 required changes 2015-08-13 15:26:00 -07:00
David Garcia Quintas 80dc66d8ab Merge branch 'master' of github.com:grpc/grpc into compression-interop 2015-08-13 15:01:03 -07:00
Vijay Pai ed48bf8f71 Merge pull request #2922 from yang-g/proto3_cpp
use proto3 syntax in c++ test protos
2015-08-13 14:27:00 -07:00
yang-g f6befe8690 update the interop test protos and code to proto3 2015-08-13 13:51:53 -07:00
David Garcia Quintas 74f4f0bb4b Merge branch 'master' of github.com:grpc/grpc into compression-interop 2015-08-13 13:20:31 -07:00
yang-g e9e69a80d4 use proto3 syntax in c++ test protos 2015-08-13 11:56:20 -07:00
David Garcia Quintas 93dfab9c6e Make sure COMPRESSABLE is the default for LargeUnary 2015-08-13 11:29:50 -07:00
yang-g 9b7757dd35 Use a sync service to handle requests to unknown services 2015-08-13 11:15:53 -07:00
David Garcia Quintas ba86dc0cbe Removed spurious line that forced COMPRESSABLE for large unaries 2015-08-13 10:01:12 -07:00
Hongwei Wang ff6097ac49 Fix zookeeper resolver plugin bugs 2015-08-12 17:48:56 -07:00
David G. Quintas 46e786ba60 Merge pull request #2771 from vjpai/asklipion2
Remove C++11 dependencies in QPS test that break old compilers
2015-08-12 16:56:31 -07:00
Craig Tiller d067c263b2 Merge github.com:grpc/grpc into y12kdm3
Conflicts:
	src/core/security/google_default_credentials.c
	test/core/security/verify_jwt.c
2015-08-12 12:00:36 -07:00
Hongwei Wang 31efd2adad Debugging 2015-08-12 11:42:58 -07:00
Hongwei Wang eeb61ba355 Minor fix for debugging 2015-08-12 11:27:28 -07:00
Vijay Pai 3ae11042fd clang-format 2015-08-11 22:43:14 -07:00
vjpai b1db869e1a Address concerns from review 2015-08-11 22:41:02 -07:00
David G. Quintas 086a982744 Removed "<:" bigram confusing gcc 4.4
Resulted in error:

```test/cpp/end2end/end2end_test.cc:120: error: ‘<::’ cannot begin a template-argument list
test/cpp/end2end/end2end_test.cc:120: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
test/cpp/end2end/end2end_test.cc:120: note: (if you use ‘-fpermissive’ G++ will accept your code)
make: *** [objs/opt/test/cpp/end2end/end2end_test.o] Error 1```
2015-08-11 18:56:10 -07:00
David Garcia Quintas 616b375e35 Merged PerformLargeCompressedUnary into PerformLargeUnary 2015-08-11 15:21:02 -07:00
Hongwei Wang d7c5aa856b Formatting zookeeper_test 2015-08-10 20:30:39 -07:00
Hongwei Wang b0453fba84 Update zookeeper test to have two servers 2015-08-10 17:04:36 -07:00
David Garcia Quintas 2e1bb1bf4d Reverted unnecessary changes to server 2015-08-10 14:22:35 -07:00
David Garcia Quintas cd37d5852b Added new tests for compression 2015-08-09 16:16:53 -07:00
David Garcia Quintas 49a5130318 Merge branch 'compression-accept-encoding' into compression-interop 2015-08-09 09:21:01 -07:00
Hongwei Wang 68d205d85b Minor fix on zookeeper test 2015-08-07 19:19:02 -07:00
Hongwei Wang 6bbcd0493e test 2015-08-07 19:09:36 -07:00
Hongwei Wang ad5c897a94 Merge branch 'master' of https://github.com/grpc/grpc into zookeeper 2015-08-07 17:17:22 -07:00
Hongwei Wang 497d26a83d Update zookeeper in jenkins docker file 2015-08-07 16:39:24 -07:00
Hongwei Wang 2ad07d7523 Formatting 2015-08-07 11:30:36 -07:00
Hongwei Wang 6d445965cc Zookeeper test server address as environment variable 2015-08-07 10:53:22 -07:00
Vijay Pai ad3e00c220 Stop using a variable-sized array since that's not standards-compliant 2015-08-07 17:21:08 +00:00