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
Vijay Pai
c7c5639d3e
Make TearDown follow typical gtest fixture format
2016-01-22 15:34:14 -08:00
Vijay Pai
e3b03712fd
100->1000
2016-01-22 11:20:37 -08:00
Vijay Pai
4dc269ed98
Merge async client thread stress test into main thread stress test so as to
...
improve code reuse
2016-01-22 11:19:30 -08:00
Vijay Pai
dac77d600c
Trim some unused code copied from another test.
2016-01-21 18:00:42 -08:00
Vijay Pai
abd5aa402f
Introduce thread stress test using async client. The server is still sync
...
for now. This will increase our coverage of concurrent execution cases in C++
since we don't currently have any coverage for multithreaded async execution using
a common completion queue.
In this test, 100 client threads initiate 1000 RPCs each, then join, and then
100 client threads come along to proces those RPC completion events as they come back.
2016-01-21 17:48:29 -08:00
David Garcia Quintas
f3ddb7c55a
clang-format
2016-01-20 16:02:22 -08:00
yang-g
b971173712
Add tests with a second service
2016-01-15 16:53:08 -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
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
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
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
yang-g
dc548ed65d
merge with head
2016-01-13 10:42:19 -08:00
murgatroid99
3466c4b55d
Updated copyrights
2016-01-12 10:26:04 -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
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
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
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
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
Julien Boeuf
114f39475f
Cpp example of how the plugins can be done.
2015-11-19 22:24:05 -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
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
Craig Tiller
a147aee75a
Merge github.com:grpc/grpc into new_op
2015-11-04 07:29:22 -08:00
vjpai
6bf1de9ab2
Mark a method with GRPC_OVERRIDE to avoid compiler warning
2015-11-02 14:48:57 -08:00
Craig Tiller
93b944785c
stream_op cleanup: test fixes and updates
2015-11-02 14:18:30 -08: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
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
Vijay Pai
7a94236d69
Merge pull request #3556 from ctiller/clangf
...
Fix clang-format script
2015-10-01 23:23:50 -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
Yang Gao
b09a875917
Merge pull request #3476 from vjpai/block_annotate
...
Annotate blocking points
2015-09-25 13:54:51 -07:00
vjpai
3ca49d2a1a
Add a todo regarding a C++ block annotation
2015-09-24 21:55:16 -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
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
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
Nicolas "Pixel" Noble
59588c6162
Removing pessimizing moves.
...
Pass #2 .
2015-09-03 02:29:30 +02: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
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
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
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
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
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
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
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
yang-g
e21908fcee
impl
2015-08-25 13:47:51 -07:00
Craig Tiller
dc31ef38d2
Loosen test requirements to better fit spec
2015-08-25 07:11:35 -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-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -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