Commit Graph

632 Commits

Author SHA1 Message Date
Nicolas "Pixel" Noble 684fe378e1 Adding "grpc_cli_libs" back. 2017-05-05 21:19:19 +02:00
zhimingxie 60f35722de fix truncate bug in grpc_cli 2017-05-02 17:40:03 +08:00
Ivan Vučica 38279ea2e0 Bazel rule for building grpc_cli. 2017-04-27 13:32:42 +01:00
Vijay Pai a935ae1505 Fix build rules for grpc++_unsecure, test that it builds properly 2017-04-20 22:21:01 +00:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
yang-g 66d40c63f7 Fix BUILD dependency, copyright and cmake 2017-04-12 10:18:10 -07:00
yang-g eceec8eaf6 Add helper function to supply and parse error_details from Status. 2017-04-11 16:07:24 -07:00
Alena Varkockova 7b9cb834ff Print out some cli error message for getservices
Currently, when you cann grpc_cli ls on an endpoint that does not have service reflection, the cli just silently ends without printing out any error or message.

This PR should fix that.
2017-04-02 22:02:09 +02:00
Nicolas "Pixel" Noble b02dd01584 Fixing qps & benchmark. 2017-03-24 21:56:51 +01:00
Sree Kuchibhotla 43bca1be48 Add BUILD file for end2end tests too 2017-02-22 16:37:27 -08:00
David Garcia Quintas 388b24d5a1 Added gflags dependency to test_config 2017-02-21 14:58:32 -08:00
Nicolas "Pixel" Noble abd887012f Initial test/cpp/util/BUILD file. 2017-02-17 21:56:10 +01:00
Jan Tattermusch 26623b3d77 Merge pull request #9456 from jtattermusch/cmake_convenience_targets
Big improvements to CMake build
2017-02-02 09:26:17 -08:00
Jan Tattermusch bd0b0546a6 windows compilation fixes 2017-02-02 00:01:09 +01:00
yang-g ded7f8250c Minor fixes 2017-02-01 10:49:51 -08:00
Yuchen Zeng 08a215f72c Merge pull request #8066 from y-zeng/cli_main_fork
gRPC CLI stream RPC support
2017-01-31 10:34:04 -08:00
Yuchen Zeng 8d2d70ca99 Support bidirectional stream RPC
Add bidistream test

Add bad request tests

Replace deprecated DynamicMessageFactory constructor
2017-01-30 14:31:24 -08:00
yang-g cc5910228d manual revert of #8901 2017-01-11 11:10:43 -08:00
Yuchen Zeng d37f642f35 Support server streaming
Skip unparsable input

Add tests for uni-directional stream calls

Simplify client stream handling
2016-12-15 16:10:37 -08:00
Yuchen Zeng f9329217b1 Support client streaming 2016-12-15 15:54:39 -08:00
Yuchen Zeng a84cdb8c81 Add parse, tobinary, totext commands 2016-12-14 15:41:18 -08:00
yang-g 6c8de363ca Use user provided method name when using binary files in cli 2016-12-08 23:05:50 -08:00
Craig Tiller 3b45b8d60b Revert "Test credentials provider update" 2016-11-29 12:31:14 -08:00
yang-g a7ef49bf6a Support custom credential type in interop 2016-11-23 10:55:03 -08:00
yang-g 8e9fc9bd0e Test credentials provider update 2016-11-22 23:12:49 -08:00
Yuchen Zeng 7647b2eb0a Merge pull request #8761 from y-zeng/fix_conflict
Fix symbol conflicts in grpc_tool_test
2016-11-15 21:17:00 -08:00
Yuchen Zeng 0377f7a6f7 Fix symbol conflict 2016-11-15 18:50:19 -08:00
Vijay Pai aaefa958d7 Merge pull request #8638 from vjpai/conform
Improve C++11 conformance
2016-11-10 14:57:05 -08:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Vijay Pai d75e7fec01 Fix a comment 2016-11-04 07:51:25 -07:00
Vijay Pai 320ed13d3e Deprecate grpc::thread and sync in favor of std::thread,mutex,etc 2016-11-01 17:16:55 -07:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Craig Tiller 28b72428a8 clang-format 2016-10-26 21:15:29 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller b37d53ebc0 Bulk update #includes 2016-10-26 16:16:35 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Yuchen Zeng 169c985f67 Remove generated pb files 2016-10-14 15:58:09 -07:00
Yuchen Zeng a2e50c5b85 Merge pull request #8190 from y-zeng/proto_db
Improve ProtoReflectionDescriptorDatabase
2016-10-05 13:39:02 -07:00
Yuchen Zeng d7c8c2bf94 Merge remote-tracking branch 'upstream/master' into proto_db 2016-10-04 16:34:40 -07:00
David Garcia Quintas f042481403 s/std::string/grpc::string 2016-10-04 13:33:46 -07:00
Yuchen Zeng 9070ab6610 Merge pull request #8247 from y-zeng/proto_db_check_service
Handle partially exposed reflection service in gRPC CLI
2016-10-03 11:24:22 -07:00
Yuchen Zeng 7cd90c6816 Print more information about ambiguous method names 2016-09-29 18:31:19 -07:00
Yuchen Zeng 6679d78997 Handle partially exposed reflection service 2016-09-29 15:47:37 -07:00
Yuchen Zeng a4aebf873e Remove unused inclusion 2016-09-28 13:20:18 -07:00
Yuchen Zeng 15bc4627de Rename variables ... again 2016-09-27 16:22:35 -07:00
Yuchen Zeng e529ea3928 Rename variables 2016-09-27 16:18:11 -07:00
Nicolas Noble 3af0908140 Merge pull request #7928 from yang-g/void_cast
Prevent some compilers compaining unused return value
2016-09-26 16:02:04 -07:00
Yuchen Zeng 27170357ab Improve ProtoReflectionDescriptorDatabase 2016-09-23 14:14:18 -07:00
Yuchen Zeng 84d55b30cc clang-format 2016-09-21 16:19:20 -07:00
Yuchen Zeng 1724ef07f3 Fix portibality issues 2016-09-21 14:15:27 -07:00
Yuchen Zeng 24129f010c Merge remote-tracking branch 'upstream/master' into cli_list 2016-09-21 14:10:47 -07:00
Yuchen Zeng 734fd71ef8 Fix CliCredentials reference 2016-09-16 16:10:53 -07:00
Yuchen Zeng a964cbafba Merge remote-tracking branch 'upstream/master' into cli_type_fork 2016-09-16 16:07:16 -07:00
Yuchen Zeng 2579bf3941 Fix ListServices args 2016-09-16 16:02:34 -07:00
Yang Gao faccebf60a Merge pull request #7845 from yang-g/header
Include config file so that protobuf declarations can be found and overridden.
2016-09-15 15:54:22 -07:00
Yuchen Zeng b4bca54aa2 Clang-format 2016-09-15 11:38:36 -07:00
Craig Tiller a51f54192a Merge pull request #7559 from dgquintas/codegen_cleanse
Removed references to public APIs from codegen/
2016-09-13 19:40:43 -07:00
yang-g 9979b026ab Merge remote-tracking branch 'upstream/master' into void_cast 2016-09-12 14:53:32 -07:00
Yuchen Zeng 330848f542 Add header guard 2016-09-12 11:28:42 -07:00
Yuchen Zeng 38b1287d2d Fix protobuf dependency 2016-09-12 11:23:16 -07:00
Yuchen Zeng 8d5f5e080b Fix portability issues 2016-09-12 11:18:26 -07:00
Yuchen Zeng 3951f2e05b Merge remote-tracking branch 'upstream/master' into cli_list 2016-09-12 11:11:32 -07:00
Yuchen Zeng 75e3ce645c Fix portability issues 2016-09-12 11:11:29 -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
David Garcia Quintas e44902ecc9 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-02 15:27:33 +02:00
yang-g 4335e11951 Prevent some compilers compaining unused return value 2016-08-30 10:09:08 -07:00
David Garcia Quintas f3581bf90a Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-30 04:45:50 -07:00
Yuchen Zeng 7176a828c5 Use --protofiles 2016-08-29 17:04:50 -07:00
Yuchen Zeng 20d6a10483 Use grpc::protobuf 2016-08-29 10:54:52 -07:00
Yuchen Zeng 94d786fd4c Add type command 2016-08-26 16:23:29 -07:00
Yuchen Zeng 387afd70d3 Add list command 2016-08-26 14:25:21 -07:00
yang-g 56fb16d49f Add missing header 2016-08-23 12:40:02 -07:00
Craig Tiller 102fa966b6 Rename some files to avoid conflicting .obj files on Windows 2016-08-22 13:56:36 -07:00
Yuchen Zeng 25aa88af94 Address review comments 2016-08-16 10:50:40 -07:00
Yuchen Zeng 2bf9913323 Fix wrongly included header 2016-08-15 18:34:43 -07:00
Yuchen Zeng 9bf906234e Clang-format 2016-08-15 17:28:13 -07:00
Yuchen Zeng 302763f898 Address review comments 2016-08-15 17:25:57 -07:00
Yuchen Zeng 02139a05dc Add CliCredentials, config_grpc_cli.h 2016-08-15 11:34:21 -07:00
Yuchen Zeng 4272cac7ae Rewrite ProtoFileParser 2016-08-12 15:25:46 -07:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
Yuchen Zeng 68ca351126 Fix sanity issues 2016-07-26 16:48:46 -07:00
Yuchen Zeng f4046cdced Fix thread leak 2016-07-26 12:22:42 -07:00
Yuchen Zeng e7068c836e Remove references to string_ref_helper 2016-07-25 17:30:45 -07:00
Yuchen Zeng 36a6fe6052 Merge remote-tracking branch 'upstream/master' into cli_main 2016-07-25 15:51:10 -07:00
Yuchen Zeng 724a4e253a Add header guard 2016-07-25 14:56:06 -07:00
Yuchen Zeng 28263275f0 Remove unnecessary dependencies 2016-07-25 14:38:07 -07:00
kpayson64 b5fa72c89e Merge pull request #7451 from y-zeng/seperate_generated_files
Separate generated pb files from the server reflection build target, use grpc::protobuf instead of google::protobuf
2016-07-25 14:32:51 -07:00
Yuchen Zeng 29ca79be89 Command processing, validation 2016-07-25 12:00:08 -07:00
kpayson64 b8208ff79a Merge pull request #7269 from y-zeng/cli_call
Support server reflection in CLI
2016-07-21 17:11:36 -07:00
Yuchen Zeng 9cb9445155 Addressed review comments 2016-07-20 16:39:31 -07:00
Yuchen Zeng 6b88b22d9e Add comments for GRPC_NO_GENERATED_CODE 2016-07-19 19:12:46 -07:00
Yuchen Zeng 1318479011 Separate generated file and protobuf dependency 2016-07-18 13:07:42 -07:00
Yuchen Zeng c68640f05c Read from stdin
Read from stdin if the request text and binary file are not provided
2016-07-07 16:42:32 -07:00
Yuchen Zeng a17c8d993d Fix typos 2016-07-07 11:40:05 -07:00
Yuchen Zeng c24e0ee4f0 Update docs 2016-07-07 11:32:25 -07:00
Yuchen Zeng 256cc7aa03 Support server reflection in CLI 2016-07-07 11:09:49 -07:00
yang-g a324c4fea6 Add API to get c slice from c++ Slice. 2016-06-24 11:59:35 -07:00
Vijay Pai 6b668cc93f Remove range-based for, comparisons to nullptr 2016-06-16 07:49:36 +00:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Vijay Pai a63271c77f Deal with to_string, proper usage of nullptr, and lack of map::emplace 2016-06-15 12:56:38 -07:00
Vijay Pai 12bf3801b8 Got carried away with grpc:: 2016-06-15 11:24:10 -07:00
Vijay Pai efa8430e39 Enforce gcc-4.4 compatibility on test_credentials_provider by changing
a map to 2 vectors. Additional minor changes needed (e.g., override->GRPC_OVERRIDE,
nullptr->grpc::nullptr)
2016-06-15 10:23:34 -07:00
Yuchen Zeng d23710787b Merge remote-tracking branch 'upstream/master' into reflection_separate_lib 2016-06-07 15:00:52 -07:00
Yuchen Zeng 7ae31a8898 Add more comments, fix format issues 2016-06-06 14:35:51 -07:00
Yuchen Zeng 0601df3a04 Move reflection src/hdr to src/cpp/ext include/grpc++/ext 2016-06-06 13:08:06 -07:00
Yuchen Zeng 1495cb5b24 Addressed reveiw comments about naming 2016-06-06 10:58:29 -07:00
yang-g 34b5861e5c Spliting filegroup. 2016-06-03 17:51:00 -07:00
yang-g aaee544d69 merge and resolve conflicts 2016-06-03 15:34:01 -07:00
yang-g 17487f9a22 Make grpc++ independent of protobuf 2016-06-03 15:21:15 -07:00
Yuchen Zeng c8074527b2 Remove unnecessary headers 2016-06-03 14:36:11 -07:00
Yuchen Zeng c92fe25af5 Add mutex for stream in ProtoReflectionDescriptorDatabase, fix headers check 2016-05-25 07:18:57 -07:00
Yuchen Zeng 91c51a7aba Add proto_server_reflection_test 2016-05-20 14:48:08 -07:00
yang-g fe3e8b7313 remote unused member 2016-05-19 15:30:05 -07:00
Yuchen Zeng ace4986e65 Update reflection implementation along with API changes 2016-05-19 15:10:22 -07:00
yang-g df012d048a Add proto file support in grpc_cli 2016-05-18 16:15:15 -07:00
Yuchen Zeng 0333a49afa Use stream rpc to ensure all related requests go to a single server. 2016-05-05 16:29:43 -07:00
Yuchen Zeng c84ed6813e Proto server reflection 2016-05-04 16:57:08 -07:00
Sree Kuchibhotla 44b9cd7584 Fix the sanity error reported by check_sources_and_headers.py 2016-04-26 12:15:48 -07:00
Sree Kuchibhotla 8c065a7b22 clang format 2016-04-26 12:11:42 -07:00
Sree Kuchibhotla 3714e302c0 Simplify QPS Metrics collection 2016-04-22 10:17:28 -07:00
Jan Tattermusch 969ffaf5c6 Enable JSON reports for qps drivers 2016-04-14 13:13:25 -07:00
Jan Tattermusch f2ba7fe037 integrate ScenarioResult proto into qps driver 2016-04-14 13:13:25 -07:00
Craig Tiller 0bda0b3e55 Configure performance scenarios with json
Run those json configurations as part of presubmits
2016-04-06 10:14:44 -07:00
Craig Tiller 8e3b16cfd9 Merge github.com:grpc/grpc into channel_max_reconnect_backoff 2016-04-04 13:50:38 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 076c2b807b Merge github.com:grpc/grpc into channel_max_reconnect_backoff 2016-03-30 17:12:29 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
yang-g f64befd27f Make a copy of ByteBuffer when writing 2016-03-21 14:04:10 -07:00
Aaron Isotton 24e69bf02a Added a channel argument to set the maximum reconnect backoff duration. Extended the interop test to test the custom reconnect backoffs.
This closes #5377.
2016-03-08 14:21:31 -08:00
Dan Born f2f7d57c01 Allow use of alternative credential types. 2016-03-03 17:26:12 -08:00
Craig Tiller 7fe08a23f1 clang-format 2016-02-29 20:17:48 -08:00
Jan Tattermusch 8ba6a6b321 Merge pull request #5402 from sreecha/stress_test_scripts
Stress test scripts to launch in GKE
2016-02-29 15:01:54 -08:00
Dan Born 1b5a264eb8 Allow new credential types to be added to tests. 2016-02-24 18:52:39 -08:00
Dan Born 53a94ef4e7 Use standard include paths. 2016-02-24 15:44:43 -08:00
Dan Born 7275f36411 Initialize mutex to nullptr. 2016-02-24 15:09:16 -08:00
Dan Born f30941cd95 Injectable test credentials provider interface. 2016-02-24 14:55:02 -08:00
Sree Kuchibhotla 559e45becd Scripts to launch stress tests in GKE 2016-02-24 11:15:53 -08:00
yang-g 12a0a2c20b move tls type name to .cc file 2016-02-19 00:22:20 -08:00
yang-g 4c8aed3dba Add a helper to return all the secure types 2016-02-19 00:19:39 -08:00
yang-g 17197ddc71 Revert "make an enum"
This reverts commit 5152cd29f8.
2016-02-19 00:04:22 -08:00
yang-g 5152cd29f8 make an enum 2016-02-18 16:37:51 -08:00
yang-g 7d2a3e1917 Refactor end2end_test. Make the credentials a separate library. 2016-02-18 15:41:56 -08:00
murgatroid99 7a55684a13 Clang format and fix copyrights 2016-02-05 11:33:30 -08:00
murgatroid99 309830f6b8 Replace 'long' with 'int64_t' in public core headers 2016-02-05 11:30:00 -08:00
David Garcia Quintas 2425bbbc55 Further work. Compiles. WIP 2016-01-25 17:32:48 -08:00
David Garcia Quintas 6190854157 updated copyrights 2016-01-20 11:21:27 -08:00
David Garcia Quintas a701ed7759 Merge branch 'proto_interfaces' into yang-g-sync_async_mix 2016-01-19 18:44:47 -08:00
David Garcia Quintas 1aeabd7194 regenerated projects 2016-01-19 11:23:37 -08:00
yang-g 15b8050675 Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-15 16:07:36 -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
David Garcia Quintas 45484b31bb Added sanity check for trailing newlines 2016-01-14 19:01:00 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
murgatroid99 ace28d3f98 Fix copyrights again 2016-01-14 10:12:10 -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
Craig Tiller 54ed674d40 Merge github.com:grpc/grpc into proto_names 2016-01-06 17:05:34 -08: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
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
Sree Kuchibhotla bc3127d4c3 Address code review comments 2015-11-19 10:32:59 -08:00
Sree Kuchibhotla 52a514a250 Address code review comments 2015-11-19 10:28:47 -08:00
Sree Kuchibhotla 87f51663ee Merge branch 'master' into stress_tests_metrics 2015-11-19 08:48:56 -08:00
Sree Kuchibhotla b047c0fc9b Address code review comments 2015-11-16 14:41:04 -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
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Craig Tiller 71a0f9d3b0 Fix clang-format script 2015-09-28 17:22:01 -07:00
Nicolas "Pixel" Noble 59588c6162 Removing pessimizing moves.
Pass #2.
2015-09-03 02:29:30 +02:00
Julien Boeuf 0d47192afa Fixing headers and paths after merge with upstream. 2015-08-30 22:18:50 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -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
yang-g 730055d962 implementation fix 2015-08-27 12:29:45 -07:00
yang-g 0d9f81f741 minor fixes 2015-08-26 22:04: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
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 e8a7e30a75 Eliminate public thread-pool interface 2015-08-24 10:52:33 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g 8c2be9f228 Remove ChannelInterface and replace it with Channel 2015-08-19 16:28:09 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -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
yang-g e9e69a80d4 use proto3 syntax in c++ test protos 2015-08-13 11:56:20 -07:00
yang-g 9b7757dd35 Use a sync service to handle requests to unknown services 2015-08-13 11:15:53 -07:00
yang-g d7ead699f8 Add a test 2015-07-30 10:57:45 -07:00
Yang Gao 2a31304d7f Merge pull request #2647 from vjpai/deepend
Dynamic-sized thread pool
2015-07-24 23:08:27 -07:00
jboeuf 5749a3f467 Merge pull request #2605 from yang-g/fake_transport_security_to_private
Fake transport security to private
2015-07-24 21:30:35 -07:00
Vijay Pai f0c66c6365 Merge branch 'master' into deepend 2015-07-24 10:51:27 -07:00
Vijay Pai 1f3e6c1ebe Start switching everything to dynamic pool 2015-07-23 16:18:21 -07:00
yang-g 6f30decf79 Flow control fix 2015-07-22 23:14:43 -07:00
yang-g 8b25f2aaeb move fake_transport_security_credentials to private API 2015-07-21 23:54:36 -07:00
Craig Tiller c9fef6f521 Merge github.com:grpc/grpc into no-worries-i-can-wait 2015-07-17 14:41:12 -07:00
vjpai a2e1bb1577 Change name of thread_pool files to fixed_size_thread_pool when
appropriate
2015-07-15 16:49:49 -07:00
Vijay Pai 69f2410086 Make thread_pool.h a public header
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
2015-07-15 12:33:37 -07:00
Craig Tiller 677c50c92a Update C++ impl 2015-07-13 10:49:06 -07:00
Craig Tiller 354398f9f5 Updating wrapped languages to new time functions 2015-07-13 09:16:03 -07:00
yang-g 3315a845ef Merge remote-tracking branch 'upstream/master' into security_context2 2015-07-09 12:32:48 -07:00
Craig Tiller 822d2c7beb Support registering services against specific hosts 2015-07-07 16:08:00 -07:00
yang-g c4eef2eae8 add a test case in end2end_test 2015-07-06 23:26:58 -07:00
Siddharth Rakesh fd1a20a667 Changes introduced for passing hashed user id instead of access token 2015-06-30 16:38:32 -07:00
Siddharth Rakesh df77c580dc Added support for passing a tag with the test 2015-06-23 16:34:18 -07:00
Siddharth Rakesh 500007ab68 Merge branch 'master' of https://github.com/grpc/grpc 2015-06-23 11:22:46 -07:00
yang-g b1bbc8764d proper init const char * 2015-06-22 23:30:00 -07:00
Yang Gao 89c5a56233 Add const to ByteBuffer methods and add tests 2015-06-22 16:31:11 -07:00
Craig Tiller aeedff1ef8 Use a character literal instead of grpc::string 2015-06-22 12:31:53 -07:00
Siddharth Rakesh cc5857b624 Fixed hanging client declaration, server address can be passed now 2015-06-18 16:45:55 -07:00
Siddharth Rakesh e2902dee31 commented 2015-06-17 15:01:43 -07:00
Siddharth Rakesh 893ccac421 Merge branch 'master' of https://github.com/grpc/grpc 2015-06-17 15:01:07 -07:00
Yang Gao 45bd28e0d3 One more thing... 2015-06-16 22:07:58 -07:00
Yang Gao 763afe1fd6 merge with upstream 2015-06-16 13:19:07 -07:00
Yang Gao c1a2c314fb Update the Status API 2015-06-16 10:59:46 -07:00
Yang Gao 102eccb632 Support sending and showing received metadata in grpc_cli 2015-06-16 00:43:25 -07:00
Siddharth Rakesh f4dafb5654 updated configs sending 2015-06-10 15:10:35 -07:00
Siddharth Rakesh 39824335ea Newer version 2015-06-08 13:44:51 -07:00
Siddharth Rakesh 922ea81877 QPS, latencies recorded with authentication 2015-06-04 17:32:31 -07:00
David Garcia Quintas f01ccb7ba3 Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring 2015-05-22 10:39:02 -07:00
David Garcia Quintas 1d780fd3df Fixed typo 2015-05-22 10:37:27 -07:00
David Garcia Quintas 30ecd2b8d9 Return shared_ptr by value plus minor dependency fix 2015-05-20 23:08:29 -07:00
David Garcia Quintas a6b559a76a Improvements to reporting mechanism based on comments.
Turned the reporter into a composite, much cleaner arch.
2015-05-20 23:08:29 -07:00
David Garcia Quintas 226beffea1 Simplified code based on comments and fixed build.json 2015-05-20 23:08:29 -07:00
David Garcia Quintas 87ca82768d Added missing benchmark_config.* files 2015-05-20 23:08:29 -07:00
Craig Tiller 4f8b679a49 Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm
Conflicts:
	Makefile
	build.json
2015-05-19 09:13:35 -07:00
Yang Gao b57f72dbee resolve comments 2015-05-17 21:54:54 -07:00
Yang Gao 26a4912558 Add fake credentials to the test and verify it actually works 2015-05-15 17:02:56 -07:00
Craig Tiller 3cdd9bbdbc clang-format 2015-05-15 14:43:47 -07:00
Craig Tiller fbac5f17b7 Crash handling test 2015-05-15 14:20:44 -07:00
Yang Gao a89389283f support per call credentials in c++ 2015-05-14 11:51:07 -07:00
Nicolas "Pixel" Noble fd2bf675f7 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble 23be280366 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	src/cpp/client/channel.cc
	vsprojects/vs2010/grpc++.vcxproj
	vsprojects/vs2013/grpc++.vcxproj.filters
2015-04-24 00:38:19 +02:00
Yang Gao 103837ee6b Wrap ParseCommandLineFlags in InitTest 2015-04-15 15:23:54 -07:00
Nicolas "Pixel" Noble b7c2035e83 Merge branch 'master' of https://github.com/grpc/grpc into the-purge-2
Conflicts:
	test/cpp/end2end/async_end2end_test.cc
	test/cpp/end2end/end2end_test.cc
	test/cpp/interop/client.cc
2015-04-11 01:53:09 +02:00
Nicolas "Pixel" Noble 0caebbfcfe Splitting gRPC service class codegen into its own set of files. 2015-04-09 23:08:51 +02:00
Nicolas "Pixel" Noble a05b8b7b25 Removing a few more references to #include <chrono> 2015-04-08 09:07:20 +02:00
Nicolas Noble 89219162dd Refactoring std::chrono out. 2015-04-08 05:42:08 +02:00
Yang Gao 0c4b0ddcc5 Add tests with delayed cancellation from client and server 2015-03-30 13:08:34 -07:00
Yang Gao b946b5ea74 Refactor and add a unit test 2015-03-27 13:20:59 -07:00
Yang Gao 48bbd000eb merge upstream and resolve conflict 2015-03-26 23:12:14 -07:00
Yang Gao 166f9d00ce add back mis-deleted method string 2015-03-26 23:06:45 -07:00
Yang Gao ced2b89f55 Finish grpc_cli 2015-03-26 22:59:54 -07:00
Yang Gao a5e20d35c9 a stub of the cli tool 2015-03-25 09:55:20 -07:00
Yang Gao cdb2a6e071 Protect on some overflow scenarios, add a test and build/run the test 2015-03-20 23:55:04 -07:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
Craig Tiller 61691f92c3 Merge github.com:grpc/grpc into credit 2015-03-02 08:51:52 -08:00
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller 29f1314282 Merge github.com:grpc/grpc into credit 2015-02-26 11:23:01 -08:00
Craig Tiller 36ccead403 Merge pull request #735 from jboeuf/fix_ssl_san
Verifying the peer name on the X509 Certs correctly.
2015-02-24 21:11:26 -08:00
Craig Tiller b9d91eb454 Merge github.com:google/grpc into deprecate-c++
Conflicts:
	test/cpp/end2end/async_end2end_test.cc
	test/cpp/end2end/end2end_test.cc
2015-02-23 17:13:40 -08:00
Julien Boeuf 597a4f2273 Verifying the peer name on the X509 Certs correctly.
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
  the SANs. Will fix the test cert another time...
2015-02-23 16:41:26 -08:00
Craig Tiller e8eb8a4fd4 Merge github.com:grpc/grpc into credit 2015-02-23 14:56:42 -08:00
Craig Tiller e4fe844b67 s/CreateChannel/CreateChannelDeprecated
For the 2-argument version of CreateChannel.

This is a temporary step until #711 is ready to roll out.
2015-02-23 13:55:15 -08:00
Julien Boeuf c66f2a816e Addressing iniitial feedback.
- Renaming default credentials -> google default credentials.
- Various other things in cpp:
  - Adding Cpp wrapping for JWT Tokens.
  - Renaming ComposeCredentials -> CompositeCredentials.
2015-02-23 13:00:36 -08:00
Craig Tiller 47c83fdaf7 Credentials prototyping
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
2015-02-23 09:58:22 -08:00
Craig Tiller ce5021b0b9 Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller ad1fd3a49e Add proto copyrights 2015-02-16 12:23:04 -08:00
Yang Gao 48d80e5769 update comments 2015-02-05 23:11:02 -08:00
Yang Gao 1988221d15 Use environment variable to set root certs in c++ interop test. 2015-02-05 23:06:54 -08:00
Yang Gao eec8d1a56c fix comments 2015-01-26 11:03:21 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
Yang Gao 02ce729ce2 make CreateTestChannel support additional credentials besides ssl 2015-01-25 23:12:43 -08:00
Julien Boeuf 8fbcc4391e Changing the SSL (Server) Credentials API.
- Changed the unsigned char * + size to NULL terminated strings which
  makes sense for the PEM format. I may change TSI later (but the impact
  will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
  when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
  option to not specify the roots which will then be derived from the
  environment (well-known platform dependent locations and/or
  environment variable).
- Fixed the php build which is the only one added in the run_test.py.
  This change will certainly break node, python and ruby.
2015-01-20 22:18:15 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
yangg 1456d15221 Add a test to export two TestService on the same server, only with different
package names. Make sure they work as intended.

This is based on []
	Change on 2015/01/08 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83558743
2015-01-09 17:54:03 -08:00
yangg ed5e7e006b Add deadline API on server side.
Change on 2015/01/06 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83351442
2015-01-06 17:45:46 -08:00
chenw 97fd9e56d2 Add SSL root for production GFE.
Change on 2014/12/19 by chenw <chenw@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82554526
2014-12-29 17:06:52 -08:00
yangg 3f1af6ee2d Make override hostname an argument for testing against prod gfe.
Change on 2014/12/19 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82544544
2014-12-29 17:00:21 -08:00
yangg 59dfc90f57 Client side implementation of creating channel with credentials.
The old test_ssl_channel related code is deleted and the new create channel
call is used for interop tests.
	Change on 2014/12/19 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82540921
2014-12-29 16:59:06 -08:00
yangg 87da1b937d Make the default deadline gpr_inf_future to avoid mismatch between
gpr_inf_future and time_point::max(). The redundant AbsoluteDeadline prefix is removed from the utility function names.

Now the ClientContext holds a gpr_timespec instead of a time_point.

A test will be added in the server side deadline support cl.
	Change on 2014/12/11 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81920769
2014-12-12 16:08:10 -08:00
nnoble 0c475f0ad7 Updating moe_db.txt with the latest equivalence since the ruby import changed the exported structure.
Change on 2014/12/01 by nnoble <nnoble@google.com>
-------------
new [] file for grpc testing.
	Change on 2014/12/02 by donnadionne <donnadionne@google.com>
-------------
Fix unfinished calls in thread_stress_test.

Previously we had an early return if we cancelled a stream part way through a
message. Correct this, so that half close and full close signals are propagated
up the stack correctly so that higher level state machines can see the
termination.
	Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Remove dependency on internal C code.
	Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Turn off the flaky bit from thread_stress_test.
	Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Add test cases of empty request/response, request streaming, response streaming, and half duplex streaming.

Bring up the GFE/ESF for mannual test:
[] build java/com/google/net/[]/testing/integration/hexa:server_components_env
[]-bin/java/com/google/net/[]/testing/integration/hexa/server_components_env --manual --rpc_port=25000 --use_autobahn
	Change on 2014/12/02 by chenw <chenw@google.com>
-------------
Make echo/server.c and fling/server.c shutdown cleanly on SIGINT, and update
the relevant tests to exercise this mechanism.

Now "[] coverage" and the memory leak detector are able to see into the
server processes.
	Change on 2014/12/02 by pmarks <pmarks@google.com>
-------------
Allow the # of channels to be configurable in this performance test. The threads will use the channels in statically-defined round-robin order (not based on when RPCs complete on any channel). The interesting cases are #channels=1 or #channels=#threads (we previously only had the latter case)
	Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Fixed a typo and reworded a comment.
	Change on 2014/12/02 by gnezdo <gnezdo@google.com>
-------------
Require the grpc_call in this ClientContext to be NULL before allowing set_call to be invoked. Otherwise, it's an indication of a leak somewhere.
	Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Correctly return status other than ok and add a test for it.
	Change on 2014/12/02 by yangg <yangg@google.com>
-------------
Better C++ guards for grpc_security.h
	Change on 2014/12/02 by nnoble <nnoble@google.com>
-------------
Use nullptr instead of NULL for consistency.
	Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Updates the ruby gRPC service class to require the serialization method to be
a static method

- this brings it inline with the proto3 ruby API
- it adds a monkey patch to allow existing proto (beefcake) to continue working.
	Change on 2014/12/02 by temiola <temiola@google.com>
-------------
Adding a buildable unit to the blue print file.

Added the buildable unit as its name will be usesd as tap project id.

This test will fail right away in tap until tests are actually added.
	Change on 2014/12/02 by donnadionne <donnadionne@google.com>
-------------
Move interop ESF C++ server from Java to grpc directory.

Tests passed:
[] test javatests/com/google/net/[]/testing/integration/hexa/...
[] test net/grpc/testing/interop/esf_server/...
	Change on 2014/12/02 by chenw <chenw@google.com>
-------------
Return a lame channel as opposed to NULL when secure channel creation fails.

- Looks like we're going to need something similar server-side.
- I changed the prototype of the lame client channel factory to take an
explicit void as I think this is better practice in C. Let me know if you
disagree and I will revert these changes.
	Change on 2014/12/02 by jboeuf <jboeuf@google.com>
-------------
Putting ALPN support where it belongs.
	Change on 2014/12/02 by jboeuf <jboeuf@google.com>
-------------
GOAWAY send path.

Sends a GOAWAY frame when shutting down.
This is not read and understood yet.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Adds support for secure channels and servers.

- wraps new C apis (credentials, server_credentials) and Server#add_secure_http_port
- adds tests to ensure credentials and server credentials can be created
- updates client_server_spec to run the client_server wrapper layer end-to-end tests using a secure channel
	Change on 2014/12/03 by temiola <temiola@google.com>
-------------
Fix existing issues regarding out of order events.

At the client side, using pluck as the client_metadata_read can happen anytime after invoke.

At the server side, allow halfclose_ok and rpc_end to come in reverse order.
	Change on 2014/12/03 by yangg <yangg@google.com>
-------------
Don't track coverage of tests.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Change UnaryCall to conform standard test requirement of LargeUnaryCall.
	Change on 2014/12/03 by yangg <yangg@google.com>
-------------
updating alpn version to h2-15 ensure all interop are on the same version and working.

Java and go are not ready for h2-16 yet.
	Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Add config to bring echo server in [].

This is used to test production GFE as its bckend.
	Change on 2014/12/03 by chenw <chenw@google.com>
-------------
In preparation for fixing shutdown race issues, change em to take ownership of
the file descriptor. Add an API to grpc_tcp to take an already created
grpc_em_fd object, and change tcp_client to use that API.

This is needed because otherwise an em user's close() of the file descriptor
may race with libevent internals. That's not an issue yet because destroy()
frees the events inline, but that can't be done safely if there is a concurrent
poller.
	Change on 2014/12/03 by klempner <klempner@google.com>
-------------
Fixing TAP opensource build

We don't want to compile and run C++ tests in the C target.
	Change on 2014/12/03 by nnoble <nnoble@google.com>
-------------
Move and separate interop tests by languages.

Small fixes to the test runner.

Improving logging.
	Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Fixing the opensource build:

-) The C/C++ split wasn't done up to the 'dep' target level
-) The alpn.c file was missing from build.json
	Change on 2014/12/03 by nnoble <nnoble@google.com>
-------------
Adding blue print files after projects exist
	Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Refactor StreamContext using the new completion_queue_pluck API.

The dedicated the poller thread has been removed.
This CL keeps the current behavior to make it short. There is one following to
make it usable for both client and server.

The tags for pluck is based on the address of this StreamContext object for potential debug use.

The Read/Write and Wait cannot be called concurrently now and this might need to be fixed.
	Change on 2014/12/03 by yangg <yangg@google.com>
-------------
Binary encoding utilities.

Support base64 encoding, HPACK static huffman encoding, and doing both at once.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Enforce Makefile regeneration in presubmits.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Make CloseSend() send a real zero-length control message to indicate EOS.
	Change on 2014/12/03 by zhaoq <zhaoq@google.com>
-------------
Prefer to create dualstack sockets for TCP clients and servers, with automatic
fallback for environments where IPV6_V6ONLY can't be turned off.
	Change on 2014/12/03 by pmarks <pmarks@google.com>
-------------
Add opensource path to build targets.

Ensure that MOE is going to run.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Add PingPong test case. Delete FullDuplex test case. The latter is not specified for client in

https://docs.google.com/document/d/1dwrPpIu5EqiKVsquZfoOqTj7vP8fa1i49gornJo50Qw/edit#
	Change on 2014/12/03 by chenw <chenw@google.com>
-------------
Make generate_projects.sh check out the generated targets.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
rspec cleanup

- stops declaring specs within the GRPC module
- splits Bidi streaming specs into a separate test suite

adding tests in the GRPC module was a mistake, it pollutes the module and can
affect other tests that run later by the test runner

the bidi tests are currently flaky, having them run in their own test suite
allows having two separate continuous builds (once ruby gRPC is on GitHub),
one that includes bidi where we tolerate flakiness, and another that does not,
where there should be no flakiness at all
	Change on 2014/12/03 by temiola <temiola@google.com>
-------------
Adding support for composite and IAM credentials.

- For now, we don't do any checks on credentials compatibility in the
composite credentials. Maybe we'll add that later.
- Refactored the end to end security tests so that we always use the public API
(except for the fake security context which is not exposed).
	Change on 2014/12/03 by jboeuf <jboeuf@google.com>
-------------
Make GPR library buildable in Visual Studio 2013.
	Change on 2014/12/04 by jtattermusch <jtattermusch@google.com>
-------------
Adds codegen for ruby

This is being added now that ruby's proto and grpc apis are defined and stable
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Prevent NewStream() from sending negative or 0 timeout.
	Change on 2014/12/04 by zhaoq <zhaoq@google.com>
-------------
Add a grpc_sockaddr_to_string() function, and use it when logging bind
failures.  Also improve const-correctness in some earlier code.

I'm not certain whether inet_ntop() will need any platform-specific
implementations, but for now the compiler offers no complaints.

Demo:
$ []-bin/net/grpc/c/echo_server 1.2.3.4:80
... tcp_server.c:139] bind addr=[::ffff:1.2.3.4]:80: Permission denied
	Change on 2014/12/04 by pmarks <pmarks@google.com>
-------------
Refactoring - moves c wrapped classes to a submodule Google::RPC::Core

- this allows for an explicit rule when reading through gRPC ruby code for telling
when an object is pure ruby or wrapped C
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Fixes the bidi_call

[]
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Fixing dev build when activating surface traces.
	Change on 2014/12/04 by nnoble <nnoble@google.com>
-------------
Updates the tests to reflect that fact that some Credentials compose works.
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Making the generate_project_test actually do something.
	Change on 2014/12/04 by nnoble <nnoble@google.com>
-------------
Rename "esf_server" to "[]4_server". Delete "test_sever" from Java directory.
	Change on 2014/12/04 by chenw <chenw@google.com>
-------------
Added PHP client interop tests. Tested large_unary against the C++ server.
	Change on 2014/12/04 by mlumish <mlumish@google.com>
-------------
Refactor grpc_create_dualstack_socket() by pulling the setsockopt into its own
function.  This separates the magic test flag from the real fallback logic.
	Change on 2014/12/04 by pmarks <pmarks@google.com>
-------------
Fixes the type of the constant used for test cert hostname
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Disabling these tests as they're causing flakiness.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Change intptr --> uintptr.

Handles the case where a void* turns into a negative number, which then gets
hashed into a negative bucket and segfaults.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Add a test fixture to force parsers to handle one byte at a time.

This should expand coverage and hopefully prevent errors at some point (it
seems to pass out of the box for now though).
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
The code generator isn't +x.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Updates math_client and math_server to allow construction using crednetials

By:
- Extending rpc_server constructor so that it takes a credentials keyword param
- Extending client_stub constructor so that it takes a credentials keyword param
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Format output a little more nicely.

Print each line of output separately - previously logging.info was truncating this at some maximum length, and logs were getting lost.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Up timeout for this test.

Under TSAN, if we process one byte at a time, this timeout can be reached - and I think this is the cause of the following flake:
[]
	Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Adding more error logging for ssl.
	Change on 2014/12/05 by jboeuf <jboeuf@google.com>
-------------
Read path for goaway.

Still need to add hooks to deprecate a channel on the client side when goaway
is received.
	Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Separate accept() into server_accept() and server_end_of_initial_metadata().

This allows servers to initiate reads before finishing writing metadata.
	Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Fix for breakage 11512317 - adding missing test files.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
grpc c++ server side streaming support.

This is based on [] There is a lot of room to clean up the internal implementation which may require refactoring of CompletionQueue. The current cl serves as a working implementation with the missing interfaces.

The sample generated files are included and will be removed before submitting.
	Change on 2014/12/05 by yangg <yangg@google.com>
-------------
Changed to the latest timeout format again (search "grpc-timeout" in [] for the spec).
	Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Fixing opensource build.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Making absolutely sure we can do the moe export by adding a sh_test for it.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Change :scheme psuedo-header from "grpc" to "http" or "https".
	Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Add server credential wrapping for c++ server. It only wraps ssl and []2 for now.

The ServerCredentials class and the factory class are in a similar fashion as
client side wrapping. The difference is the factory method returns shared_ptr
instead of unique_ptr as the server builder needs to keep a reference to it for
actually creating the server later.

The integration will happen in a following cl.
	Change on 2014/12/05 by yangg <yangg@google.com>
-------------
Fixed bugs in new_grpc_docker_builder.sh
	Change on 2014/12/05 by mlumish <mlumish@google.com>
-------------
In secure endpoint, hold a refcount for the life of a write callback if the
write does not complete immediately.
	Change on 2014/12/05 by klempner <klempner@google.com>
-------------
Add migration support to MOE and have TAP verify it doesn't break.

Migration support allows mirroring commits from [] into the git repo, instead of just a dump of the current source.
	Change on 2014/12/05 by ejona <ejona@google.com>
-------------
Change initial window size to 65535 according http2 draft 15.
	Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Re-enable the flaky cases in dualstack_socket_test, with additional logging to
help track down the problem if it surfaces again.

This also seems like a good opportunity to make grpc_socket_utils a separate
library, as it's not really specific to TCP.

Example output:
logspam: [], 26570) resolved 2 addrs in 37ms:
logspam:   [0] [::1]:26570
logspam:   [1] 127.0.0.1:26570
	Change on 2014/12/05 by pmarks <pmarks@google.com>
-------------
Opensource build fixes.

-) A function that has a return type should actually return something.
-) Don't pass unsigned chars to strlen and strncmp.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81458281
2014-12-05 16:00:44 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00