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