Commit Graph

684 Commits

Author SHA1 Message Date
murgatroid99 08b0fab426 Merge branch 'master' into uv_core_transport 2016-09-23 14:35:49 -07:00
Craig Tiller 1edc77c7c6 Merge github.com:grpc/grpc into direct-calls 2016-09-20 11:02:51 -07:00
murgatroid99 bcc60f75d4 Merge branch 'master' into uv_core_transport 2016-09-16 13:44:28 -07:00
yang-g d5fba280bb make inline metadata value clearer 2016-09-16 10:29:16 -07:00
yang-g 4b4571ab88 Add a test for nonbin header containing binary value 2016-09-15 23:01:09 -07:00
yang-g c580af37e0 Add a check for metadata from auth plugin 2016-09-15 15:33:32 -07:00
Craig Tiller 762e72ef7b Merge github.com:grpc/grpc into direct-calls 2016-09-14 11:16:51 -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
Craig Tiller 44b12f9e23 clang-format 2016-09-08 10:06:14 -07:00
Craig Tiller aef13f78c7 Merge branch 'grand-unified-closures' into direct-calls 2016-09-08 10:05:42 -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
Craig Tiller bd37a21c26 Cleanup, debug support 2016-09-07 11:28:56 -07:00
David Garcia Quintas d10f1775eb Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-03 12:42:02 +02:00
murgatroid99 7c5befd86b Change UnimplementedService to UnimplementedEchoService in echo.proto 2016-09-01 17:09:47 -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
Vijay Pai d4d5f4cd53 clang-format 2016-08-29 16:59:21 -07:00
Vijay Pai a9c0d7f88b Change names to StreamedUnary, ServerUnaryStreamer, etc. Use a templated method handler since most code shared between the new StreamedUnary and the existing BidiStreaming. Eliminate the separate enum case for streamed unary. Return a status failure if a StreamedUnary method handler doesn't actually do a write (since that is
violating the appearance of unary-ness)
2016-08-29 16:42:04 -07:00
Vijay Pai ac4113bef1 Merge branch 'master' into fc_unary 2016-08-25 14:49:18 -07:00
murgatroid99 6257159a3a Merge branch 'port_platform_split' into uv_core_transport 2016-08-22 14:57:22 -07:00
murgatroid99 623dd4f556 Renamed GPR_ constants to GRPC_ in iomgr/port.h 2016-08-08 17:31:27 -07:00
murgatroid99 5407089b37 Separate out iomgr-specific constants into a separate header 2016-08-08 17:01:18 -07:00
Vijay Pai 5d94118d0d clang-format 2016-08-04 11:48:47 -07:00
Vijay Pai ff91dea149 Be able to specify FCUnaryService just like AsyncService so that all
relevant methods get treated this way.
2016-08-04 11:07:50 -07:00
Vijay Pai 666681612e Merge branch 'master' into fc_unary 2016-08-04 09:44:51 -07:00
David Garcia Quintas 1f32ae4e84 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-02 10:24:44 -07:00
Mark D. Roth 3ac6fc1b97 Merge branch 'filter_call_init_failure' into filter_api 2016-08-02 10:07:48 -07:00
Nicolas "Pixel" Noble 8302b123de Merge branch 'v1.0.x' into manual-upmerge
Conflicts:
	src/ruby/pb/test/client.rb
	src/ruby/pb/test/server.rb
	tools/dockerfile/test/php7_jessie_x64/Dockerfile
2016-07-29 22:48:16 +02:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
Vijay Pai 2d04dd827c Change API for next message size to allow a bool return value for failure
cases.
2016-07-27 11:35:56 -07:00
Vijay Pai efef0d29c5 Merge pull request #7380 from nicolasnoble/no-c++11-threads
Avoid using certain C++11-isms with grpc::thread, as it's not necessarily std::thread.
2016-07-27 09:28:15 -07:00
kpayson64 cc961b6c5a Merge pull request #7020 from rjshade/assert_not_expect
ASSERT vector size before directly accessing first element
2016-07-25 14:36:11 -07:00
Vijay Pai 0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -07:00
Nicolas Noble f6aefa3ea6 Merge pull request #7400 from yang-g/ga_branch2
Cherrypick #7319 into v1.0.x
2016-07-21 11:28:44 -07:00
Yuchen Zeng 77b74258b5 Revert unnecessary deletions 2016-07-19 11:53:37 -07:00
Craig Tiller 5ca7e47493 Merge pull request #6737 from ctiller/delayed-write
Delay beginning most writes until we enter poll()
2016-07-19 09:25:49 -07:00
Yuchen Zeng 1318479011 Separate generated file and protobuf dependency 2016-07-18 13:07:42 -07:00
Robbie Shade c51a4833ce Merge branch 'master' into assert_not_expect 2016-07-15 15:06:14 -04:00
Mark D. Roth 30a4a544be Merge branch 'filter_call_init_failure' into filter_api 2016-07-15 09:16:05 -07:00
yang-g 807387641f prevent spurious wake up and unstarted/already shutdown server 2016-07-14 22:59:39 -07:00
Craig Tiller 13d3e3b7e2 Merge pull request #6737 from ctiller/delayed-write
Delay beginning most writes until we enter poll()
2016-07-14 19:31:47 -07:00
yang-g 6ec11f2acd prevent spurious wake up and unstarted/already shutdown server 2016-07-14 14:53:35 -07:00
yang-g 05573f1692 Make Server::Wait work for async only server. 2016-07-13 22:23:19 -07:00
Nicolas "Pixel" Noble e053e730d2 Avoid using certain C++11-isms with grpc::thread, as it's not necessarily std::thread. 2016-07-14 00:42:07 +02:00
Mark D. Roth 14bed44db2 Merge remote-tracking branch 'upstream/master' into filter_api 2016-07-12 14:09:41 -07:00
yang-g e89dc6ceb6 Make Server::Wait work for async only server. 2016-07-11 15:48:01 -07:00
Mark D. Roth 4f0b06e747 Move use of nullptr into grpc namespace, so that the hack in config.h
can be used.
2016-07-11 09:29:56 -07:00
Mark D. Roth 33e5cbbbb8 Add include to fix gcc-4.4 problem. 2016-07-11 08:00:28 -07:00
Craig Tiller 6c8619bbe7 Better fix for flow control bug 2016-07-07 10:41:48 -07:00
Mark D. Roth 98aa0c13f0 Merge branch 'filter_call_init_failure' into filter_api 2016-07-01 14:17:55 -07:00
Craig Tiller eda85c6765 Expunge all references to zookeeper 2016-07-01 12:45:19 -07:00
Mark D. Roth ab950ee7c5 Move channel_filter.h from include/ tree to src/ tree. 2016-06-29 14:51:53 -07:00
Mark D. Roth 89ebe55985 Merge branch 'filter_call_init_failure' into filter_api 2016-06-29 07:50:18 -07:00
Mark D. Roth 07cd9c9e06 Initial attempt at a C++ wrapper for the C grpc_transport_op and
grpc_transport_stream_op structs.
2016-06-27 10:14:38 -07:00
Craig Tiller f467846b1b Merge github.com:grpc/grpc into reuse_port 2016-06-26 09:54:53 -07:00
Jan Tattermusch a5cae9bd64 Merge pull request #6798 from jboeuf/fix_3803
Fix #3803
2016-06-24 16:14:02 -07:00
vjpai c0c38b1f19 Make the FCUnary class actually work and test it 2016-06-23 17:27:11 -07:00
vjpai fcb98a578c Add NextMessageSize method to all readable streams as an upper-bound
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
Robbie Shade 820c1f3fda ASSERT vector size before directly accessing first element 2016-06-23 14:31:28 -04:00
Craig Tiller 04a468122f Add comment 2016-06-21 09:16:57 -07:00
Craig Tiller d263b925e8 Make sure to poll cq 2016-06-21 09:15:57 -07:00
Vijay Pai 6ab4788ae9 clang-format changes 2016-06-17 00:31:23 -07:00
Mark D. Roth 9fe5ef5f9d Removed unnecessary comments. Added connection counter to test. 2016-06-16 14:26:04 -07:00
Mark D. Roth f5bbff9c8e Fix portability issues. 2016-06-16 12:56:07 -07:00
Mark D. Roth 905227049b Remove unnecessary code from test. 2016-06-16 11:40:25 -07:00
Mark D. Roth f9c1f7a412 clang-format 2016-06-16 10:57:28 -07:00
Mark D. Roth c008b33c18 Pass channel args to ChannelData ctor and ChannelData to CallData ctor. 2016-06-16 10:39:39 -07:00
Mark D. Roth 8a1a5976c7 Fixed test. 2016-06-16 10:22:26 -07:00
Mark D. Roth c459ecf7c9 - fix build problems
- make changes suggested by reviewer
- add test (not working yet)
2016-06-16 09:17:49 -07:00
Vijay Pai b31a9a0900 Include <cinttypes> for PRIuPTR. Not clear why this is needed. 2016-06-16 07:50:20 +00:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Vijay Pai 20bf126da6 clang-format 2016-06-15 22:21:48 -07:00
vjpai e44d53757a De-lambda-ify 2016-06-15 22:15:00 -07:00
Vijay Pai 679c75f0a6 Deal with issues surrounding const members of classes used in
containers
2016-06-15 13:10:32 -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
Jan Tattermusch 8fb6c924b5 Merge pull request #6875 from y-zeng/log_check
Add format check for gpr_log and gpr_asprintf, add gpr_strpad
2016-06-14 19:31:05 -07:00
Jan Tattermusch 136307756c Merge pull request #6438 from y-zeng/reflection_separate_lib
Proto server reflection
2016-06-13 14:16:06 -07:00
vjpai 97da6473b4 Manual clang-format 2016-06-13 09:56:26 -07:00
Yuchen Zeng bcf5023bb6 Fix zookeeper_test 2016-06-10 16:22:57 -07:00
Yuchen Zeng ed81a88c3e Merge remote-tracking branch 'upstream/master' into log_format_check 2016-06-10 15:46:23 -07:00
Yuchen Zeng beaa35724c Fix type mismatch for type_size 2016-06-10 15:46:14 -07:00
Yuchen Zeng 0ba114408e Fix gpr_log format mismatches in c++ tests 2016-06-10 15:15:44 -07:00
Vijay Pai 15855f3e7f Switch server builder plugin API to something that will work with gcc4.4 2016-06-10 12:25:32 -07:00
Yuchen Zeng d23710787b Merge remote-tracking branch 'upstream/master' into reflection_separate_lib 2016-06-07 15:00:52 -07:00
yang-g 000aa457dc add a test with empty request 2016-06-07 13:08:39 -07:00
Jan Tattermusch 570408fd4c Merge pull request #6741 from yang-g/its_ok_to_have_no_read_on_cancelled_call
Let Next set ok=true when receiving error status
2016-06-07 10:54:02 -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
Julien Boeuf 38c0cdee34 Fix double-free issue for optional_message.
Also better end to end testing of plumbing of plugin error message.
2016-06-06 14:46:08 +02:00
yang-g 17487f9a22 Make grpc++ independent of protobuf 2016-06-03 15:21:15 -07:00
Jan Tattermusch 2ff798629c Merge pull request #6664 from dklempner/server_builder_plugin_test
Fix a missing initialization
2016-06-02 20:28:39 -04:00
yang-g 15759f610e Let Next set ok=true when receiving error status 2016-06-01 11:21:27 -07:00
Craig Tiller c4c6ecf8e9 Merge github.com:grpc/grpc into test_affine 2016-05-23 12:48:55 -07:00
Craig Tiller bc7593de7a Revert "Revert "Remove spam""
This reverts commit e76528ce26.
2016-05-21 13:05:44 -07:00
Craig Tiller 34c6e87598 Simpler trick to force a listening cq 2016-05-21 13:05:01 -07:00
Craig Tiller e76528ce26 Revert "Remove spam"
This reverts commit 3f3312e7e9.
2016-05-21 12:43:17 -07:00
Craig Tiller 3f3312e7e9 Remove spam 2016-05-21 12:35:29 -07:00
Craig Tiller ae09d9dca9 Fixes and code simplification 2016-05-20 22:23:37 -07:00
Yuchen Zeng 91c51a7aba Add proto_server_reflection_test 2016-05-20 14:48:08 -07:00
Craig Tiller 718ce51af8 Fix server plugin test 2016-05-20 10:44:23 -07:00
Craig Tiller e004958fd6 Fix formatting, mem leak, stall 2016-05-20 10:31:09 -07:00
Craig Tiller aae6c2cb96 Fix server plugin test 2016-05-20 08:58:30 -07:00
David Klempner b941d5a4aa Fix a missing initialization 2016-05-19 21:00:47 -07:00
Julien Boeuf a4880374f9 Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring 2016-05-18 22:12:43 -07:00
Craig Tiller 9766f4f424 Merge github.com:grpc/grpc into test_affine 2016-05-18 16:55:35 -07:00
Craig Tiller f7a670fe6d Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine 2016-05-14 13:05:41 -07:00
David Klempner 6fb122dc6e Add calls to grpc_recycle_unused_port to two of the tests which call
grpc_pick_unused_port a lot.
2016-05-13 15:24:17 -07:00
Yuchen Zeng f86bbdefc9 Merge pull request #6373 from y-zeng/server-builder-plugin
Server builder plugin
2016-05-11 17:26:29 -07:00
Julien Boeuf bae6a4cb43 Merge branch 'master' of https://github.com/grpc/grpc into credentials_refactoring 2016-05-10 15:26:17 -07:00
Sree Kuchibhotla 8dbe2cb071 Merge branch 'master' into server_channel_affinity 2016-05-10 10:33:25 -07:00
yang-g 39e71c33d1 fix compiling error 2016-05-10 10:21:41 -07:00
Yuchen Zeng 26a1785cfc Resolve conflicts 2016-05-06 15:50:15 -07:00
Yuchen Zeng 7d099a5c90 Fix naming and comment problems 2016-05-06 13:21:36 -07:00
yang-g 080528abb7 Add parsing back to protobuf example 2016-05-06 13:12:00 -07:00
yang-g 4c07008610 Add a test for server returning error with debug info in trailer. 2016-05-05 23:35:20 -07:00
Julien Boeuf 8ca294e417 Refactoring the core security code.
As opposed to a flat directory, we now have the following structure:

- security
  -context
  - credentials
    - composite
    - fake
    - google_default
    - iam
    - jwt
    - oauth2
    - plugin
    - ssl
  - transport
  - util

We have not refactored the test code yet but this PR is already large
enough...
2016-05-04 15:51:28 -07:00
Craig Tiller e4d2748f2f Fix async_end2end_test flow control
Completion queues + flow control + single threading is hard.

We need a read outstanding on a call to grant flow control tokens to the
remote end.

To do that we need to request a read *before* we wait for the write to
be finished, otherwise, in the case of a large write we'll block waiting
for flow control tokens.

Built on #6402
2016-05-03 12:19:33 -07:00
Yuchen Zeng 3b8f3354de Add plugins at the time of static initialization 2016-05-03 12:18:13 -07:00
Vijay Pai d7b1e704a8 Cover large message sent securely or insecurely over async 2016-05-02 15:10:21 -07:00
Vijay Pai df8b62cea7 Add coverage for secure async end2end testing 2016-05-02 14:34:24 -07:00
Yuchen Zeng c049035bed Add GRPC_ prefix for macros 2016-04-29 14:05:08 -07:00
Yuchen Zeng 018bf1a864 modified has_async_methods and has_sync_methods of TestServerBuilderPlugin 2016-04-29 13:39:17 -07:00
Yuchen Zeng a42ec21341 Server builder plugin 2016-04-29 13:05:36 -07:00
Sree Kuchibhotla 1f5e262589 Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier 2016-04-21 12:28:15 -07:00
Craig Tiller eb9b6dbf11 Merge branch 'master' into ignore_connectivity 2016-04-04 23:28:28 -07:00
Craig Tiller 75dbc1eb67 Fixes 2016-04-01 13:01:26 -07:00
Craig Tiller 399b3c42de Fix client_crash_test, implement idempotency, fail_fast for C++ 2016-04-01 12:24:18 -07:00
Craig Tiller 1a2c5aa9ef Merge github.com:grpc/grpc into cleaner-posix2 2016-04-01 07:18:35 -07:00
Jan Tattermusch 4da87600dc Merge pull request #6041 from vjpai/i_know_virtual_destructors
Add virtual destructor to satisfy a requirement of some compilers
2016-03-31 17:54:43 -07:00
Craig Tiller 4c43ed325c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-31 13:12:41 -07:00
vjpai bd06e441cc Add virtual destructor to satisfy a requirement of some compilers 2016-03-31 09:33:51 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller e50d7be28c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-30 08:34:37 -07:00
Craig Tiller f45496fdb0 Fix include path 2016-03-30 07:41:19 -07:00
Vijay Pai 98f2f754b8 Used TYPED_TEST to parametrize
Include all 4 sync/async client/server combos
2016-03-29 00:54:11 -07:00
Vijay Pai 40d1a2cb87 clang-format 2016-03-29 00:38:09 -07:00
Vijay Pai bbbbf621e4 Add a concurrent test for sync client, async server case 2016-03-29 00:35:26 -07:00
Craig Tiller 8a03448a8c Merge github.com:grpc/grpc into cleaner-posix2 2016-03-28 16:09:04 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -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
Craig Tiller 7cd6ed7da3 Merge github.com:grpc/grpc into cleaner-posix2 2016-03-16 07:53:26 -07:00
Jan Tattermusch 39b082ae8c Merge pull request #5652 from grpc/revert-5599-revert-5572-srv_ctx
Revert "Revert "Properly integrate async API with server-side cancellations.""
2016-03-15 14:03:54 -07:00
Paul Querna 47d841de4d Add support for IP Addresses in Subject Alt Names. 2016-03-14 16:40:17 -07:00
Craig Tiller 4560bda1da Merge github.com:grpc/grpc into cleaner-posix2 2016-03-07 20:17:10 -08:00
Sree Kuchibhotla b0d1567e8e Revert "Revert "Properly integrate async API with server-side cancellations."" 2016-03-07 10:51:02 -08:00
Sree Kuchibhotla edd96e4926 Revert "Properly integrate async API with server-side cancellations." 2016-03-04 14:32:50 -05:00
Dan Born 51221f1e7e clang reformat. 2016-03-03 17:44:50 -08:00
Dan Born f2f7d57c01 Allow use of alternative credential types. 2016-03-03 17:26:12 -08:00
Vijay Pai dbf47fabd4 Better comments. 2016-03-03 16:25:06 -08:00
Vijay Pai 2e729387f7 clang-format 2016-03-03 14:22:12 -08:00
Vijay Pai 13ee2f2df3 Properly integrate async API with server-side cancellations.
There is a comment above IsCancelled that says when it is ok to use this.
2016-03-03 13:57:32 -08:00
Yang Gao e788e8bf8d Merge pull request #5523 from vjpai/e2e_stc
Fix ServerTryCancel in end2end tests
2016-03-02 07:45:45 +00:00
Vijay Pai 6c016efa34 ServerTryCancel was not actually respecting the API since it
could be an arbitrary amount of time between when the cancel is tried
and actually observable.
2016-03-01 16:27:53 -08:00
Sree Kuchibhotla 8d543e8e30 Fix ResponseStreamServerCancelAfter test flake 2016-02-29 18:22:25 -08:00
Craig Tiller 7c07aacb0f Fix async e2e 2016-02-25 20:18:53 -08:00
Vijay Pai bdfec2c86c SimultaneousReadWritesDone test was not observing the contract on the
streaming API. In particular, Finish should not be called until the client
is sure that there is no more message to be read (as documented in
the comments for ClientStreamingInterface::Finish)
2016-02-25 11:51:21 -08:00
yang-g ad0df7bf1f Discard the read buffer on stream error 2016-02-22 10:00:20 -08:00
Craig Tiller fc6fec2a2d Merge pull request #5258 from vjpai/poll_override2
Avoid a race when overriding default poll function
2016-02-21 22:59:52 -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
Vijay Pai b65eda4c88 Make the poll override function assert on non-zero timeout if invoked
from the end2end test thread itself (done by adding a TLS on that thread)

Also clang-format
2016-02-16 13:49:22 -08:00
Vijay Pai 018879aa9a Set up poll overrides 2016-02-16 09:20:50 -08:00
vjpai cf4daebe27 Comment the requirements for changing grpc_poll_function and do
poll overrides in such a way as to avoid polling races
2016-02-15 02:33:54 -08:00
yang-g a3c968d9c2 Merge remote-tracking branch 'upstream/master' into inherit_from_grpc_library 2016-02-12 14:54:16 -08:00
Craig Tiller a7d41147ea Merge github.com:grpc/grpc into bad_metadata 2016-02-12 10:13:52 -08:00
yang-g d59ad7ef39 Provide explicit API for user to set user agent string prefix 2016-02-10 12:42:53 -08:00
Craig Tiller 45551e0c99 Fix sanity 2016-02-08 14:22:40 -08:00
Sree Kuchibhotla 001db590ff Modify the test to have large number of threads receiving the RPCs and a
smaller number of threads sending the RPCs. This increases the
likelyhood of race-conditions on receiving threads.
2016-02-08 10:57:41 -08:00
Craig Tiller 3ad28d0f1c Merge pull request #4828 from vjpai/async_thread_stress_test
Introduce thread stress test for async RPCs
2016-02-04 11:04:22 -08:00
Yang Gao 0789c49566 Merge pull request #5042 from ctiller/compile
Fix clang3.7/tsan compile failure
2016-02-04 09:18:02 -08:00
Vijay Pai 0a3a766960 Give tsan a chance 2016-02-04 07:32:29 -08:00
Vijay Pai 912fe05ed3 Merge branch 'master' into async_thread_stress_test 2016-02-03 16:23:45 -08:00
Vijay Pai feef8be5ae clang-format 2016-02-03 16:21:25 -08:00
Craig Tiller 6f87164f3c Properly handle "." in metadata 2016-02-03 16:15:31 -08:00
Vijay Pai 63b28447e8 Remove the command-line flags 2016-02-03 15:40:06 -08:00
Vijay Pai 490e5023d7 Fix a typecast... 2016-02-03 15:37:03 -08:00
Vijay Pai e51d29d93c Remove some std:: so that grpc:: will be used by default when available 2016-02-03 12:00:09 -08:00
Vijay Pai 9f3bbb00d8 Generalize namespace for ParseCommandLineFlags 2016-02-03 11:41:50 -08:00
Vijay Pai d10bbb63f8 Refactor to favor composition over inheritance
Also make num_threads and num_rpcs as command-line flags
2016-02-03 11:26:23 -08:00
Craig Tiller e1c2d6a6df Fix clang3.7/tsan compile failure 2016-02-03 11:18:29 -08:00
Vijay Pai ce7929c877 Merge branch 'master' into async_thread_stress_test 2016-02-03 10:13:19 -08:00
Sree Kuchibhotla 4aadcb4ebf Run tools/distrib/clang_format_code.sh 2016-02-03 09:44:27 -08:00
Sree Kuchibhotla 9bc6fa0a40 Merge branch 'master' into server_try_cancel_api 2016-02-03 07:41:31 -08:00
yang-g 9fd55b0d2d remove duplicate functions 2016-02-02 16:23:35 -08:00
yang-g 7b0edbd1a3 remove the old impl caused by 4921 2016-02-02 16:05:21 -08:00
Sree Kuchibhotla a0a8eaab0e Merge branch 'master' into server_try_cancel_api 2016-02-01 14:04:19 -08:00
Sree Kuchibhotla 369a04ace6 Address code review comments 2016-02-01 10:53:13 -08:00
yang-g f8174ea37d use huffman prefix 2016-02-01 00:09:13 -08:00
Sree Kuchibhotla 0f242acb9d Comments and a minor fix 2016-01-29 18:13:33 -08:00
Sree Kuchibhotla 4fb590852f Use the same completion queue for both client and server 2016-01-29 11:16:24 -08:00
Sree Kuchibhotla f25c6ba229 Comments and format 2016-01-28 18:04:03 -08:00
Sree Kuchibhotla 944f4cf14e Sync server end2end and async_end2end tests 2016-01-28 17:37:10 -08:00
David Garcia Quintas b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
Vijay Pai 1d5faae03b Merge branch 'master' into async_thread_stress_test 2016-01-27 15:20:03 -08:00
Craig Tiller a0fef14784 clang-format code 2016-01-27 15:10:39 -08:00
Craig Tiller b0f275e4af Small testing fixes
- end2end test deadlines may complete before checking IsCancelled
  => don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
2016-01-27 10:45:50 -08:00
vjpai c1e70dbc61 100->1000 2016-01-26 15:24:56 -08:00
vjpai 79bdde2ac3 Make async message match sync 2016-01-26 15:22:21 -08:00