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
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
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
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
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
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
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