Mark D. Roth
59c9f904bf
Rename GRPC_INITIAL_METADATA_IGNORE_CONNECTIVITY to
...
GRPC_INITIAL_METADATA_WAIT_FOR_READY.
Also add a flag to indicate whether wait_for_ready was explicitly set by
the application.
2016-09-28 13:33:21 -07:00
Mark D. Roth
5db24978b6
Merge remote-tracking branch 'upstream/master' into fail_fast
2016-09-28 13:21:31 -07:00
Sree Kuchibhotla
a7a21d2049
Make sync server settings configurable
2016-09-28 12:38:01 -07:00
Sree Kuchibhotla
892dbf4d95
Make settings configurable
2016-09-27 19:42:27 -07:00
Mark D. Roth
9477724003
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-09-27 13:07:00 -07:00
Sree Kuchibhotla
e2ac10627d
new value
2016-09-26 19:12:52 -07:00
Sree Kuchibhotla
f4c6e43ff2
fine tune the cq deadline value (temporarily)
2016-09-26 19:05:28 -07:00
Sree Kuchibhotla
2d08f5bc8d
fix the plugin initialization order in ServerBuilder
2016-09-26 16:11:02 -07:00
Sree Kuchibhotla
862acb9f3a
fix shutdown crash
2016-09-26 09:48:48 -07:00
Yuchen Zeng
ef394a954a
Fix typo
2016-09-23 14:04:33 -07:00
Yuchen Zeng
27e96f9beb
Add comments about how to re-generate reflection proto files
2016-09-22 20:56:46 -07:00
Sree Kuchibhotla
7974232f41
Merge branch 'master' into rpc_mgr
2016-09-21 11:17:41 -07:00
Sree Kuchibhotla
4028d2c11b
More fixes
2016-09-21 10:45:33 -07:00
Sree Kuchibhotla
4306eeee39
Minor changes
2016-09-21 09:56:29 -07:00
Sree Kuchibhotla
aabada97a1
One RPCMgr instance per CQ
2016-09-21 01:39:13 -07:00
Mark D. Roth
abf03aed93
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-16 07:35:37 -07:00
Mark D. Roth
0e256107e8
Code review changes.
2016-09-15 09:01:05 -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
Mark D. Roth
f5afcd9f65
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-13 14:57:50 -07:00
Sree Kuchibhotla
765e6542b9
Merge branch 'master' into fix_channel_from_fd_api
2016-09-09 11:33:59 -07:00
Sree Kuchibhotla
d0989101f5
Merge branch 'master' into fix_channel_from_fd_api
2016-09-09 11:31:25 -07:00
Adam Czachorowski
dbdc6e4ae6
Add method for creating insecure channel from FD with custom arguments
...
using C++ API.
This was already supported in C API.
2016-09-09 11:32:09 +02:00
makdharma
93b09478f0
Merge pull request #8024 from makdharma/cpp_cacheable
...
add cacheable option to client_context
2016-09-08 08:19:10 -07:00
Mark D. Roth
ebfcd97940
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-08 07:16:34 -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
Makarand Dharmapurikar
2b98b77225
add cacheable option to client_context
2016-09-07 14:24:15 -07:00
Mark D. Roth
7bfa1a8343
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-06 10:44:32 -07:00
Mark D. Roth
6980362c4e
Allow setting max send message size via C++ ServerBuilder API.
2016-09-06 08:15:36 -07:00
David Garcia Quintas
e44902ecc9
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-02 15:27:33 +02:00
kpayson64
cfa18475f6
Merge pull request #7918 from y-zeng/server_builder
...
Add ServerBuilderPlugin::UpdateChannelArguments
2016-09-01 12:53:58 -07:00
David Garcia Quintas
d3dee72437
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-01 20:18:41 +02:00
Mark D. Roth
7331a7aa62
Change wrapped languages to use the new channel arg macro name.
2016-08-31 13:09:27 -07:00
David Garcia Quintas
468e16d97a
server builder include fix
2016-08-31 13:29:40 +02:00
David Garcia Quintas
621e2b1a49
Merge with newly added/modified files
2016-08-30 09:27:19 -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
11d3c8f3d4
Add ServerBuilderPlugin::UpdateChannelArguments
2016-08-29 18:19:03 -07:00
Nicolas Noble
668bf881a9
Merge pull request #7802 from nicolasnoble/upmerge-from-v1.0.x
...
Upmerge from v1.0.x
2016-08-23 14:59:39 -07:00
Nicolas "Pixel" Noble
d25c1d2a6c
Removing unused header.
2016-08-23 21:28:33 +02:00
Nicolas "Pixel" Noble
455c5d45f0
Untangling secure and unsecure.
2016-08-23 20:39:49 +02:00
Sree Kuchibhotla
509ee4c111
Remove the API to return the underlying completion queue. This API is no
...
longer needed
2016-08-22 17:48:41 -07:00
Sree Kuchibhotla
cc357bf74e
Remove completion queue parameter from grpc_server_add_insecure_channel_from_fd API
2016-08-22 16:08:50 -07:00
Sree Kuchibhotla
3ea9e247e0
some refactoring
2016-08-22 14:15:43 -07:00
Craig Tiller
102fa966b6
Rename some files to avoid conflicting .obj files on Windows
2016-08-22 13:56:36 -07:00
Sree Kuchibhotla
86edf01593
Merge
2016-08-22 10:01:35 -07:00
Vijay Pai
c4752d8857
Remove this->
2016-08-18 10:06:38 -07:00
Mark D. Roth
2665bdd6d2
Reduce allocations associated with src/cpp/util/byte_buffer.cc.
2016-08-18 08:02:24 -07:00
Nicolas "Pixel" Noble
7f074e0e20
Merge branch 'v1.0.x' into manual-upmerge
2016-08-11 21:00:08 +02:00
Mark D. Roth
00e9c3bb3b
clang-format
2016-08-03 10:48:30 -07:00
Jorge Canizales
3df9bdf880
Update generated files with new protobuf version
...
Also make the script fetch protoc from the usual place.
2016-08-03 10:48:23 -07:00
Mark D. Roth
3b4f99549d
Update destroy_call_elem args from merge.
2016-08-02 14:17:11 -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
Sree Kuchibhotla
e3a282e90d
Merge branch 'master' into rpc_mgr
2016-07-29 09:54:24 -07:00
Nicolas Noble
5a36325896
Merge pull request #7502 from dgquintas/cpp_compression_level
...
C++ Compression Level set properly
2016-07-28 18:32:25 -07:00
Nicolas Noble
e51b9d2e39
Merge pull request #7502 from dgquintas/cpp_compression_level
...
C++ Compression Level set properly
2016-07-28 18:28:17 -07:00
Mark D. Roth
f9d8e9064b
Code review changes.
2016-07-28 09:31:56 -07:00
David Garcia Quintas
61887dcf46
scrubbed codegen/sync.h
2016-07-27 23:17:34 -07:00
David Garcia Quintas
c79b0650d2
removed codegen/log.h
2016-07-27 21:11:58 -07:00
David Garcia Quintas
1399e466b0
removed codegen/time.h
2016-07-27 20:31:55 -07:00
David Garcia Quintas
3b31fdf77b
removed codegen/byte_buffer.h
2016-07-27 18:17:12 -07:00
David Garcia Quintas
6b11462da1
removed codegen/alloc.h
2016-07-27 14:49:53 -07:00
David Garcia Quintas
3922838613
Added missing var initialization
2016-07-22 13:13:31 -07:00
David Garcia Quintas
440558a7ec
C++ Compression Level set properly
2016-07-21 19:31:38 -07:00
Yuchen Zeng
12c3811167
Use compiling instead of making
2016-07-20 17:54:37 -07:00
Yuchen Zeng
6b88b22d9e
Add comments for GRPC_NO_GENERATED_CODE
2016-07-19 19:12:46 -07:00
Sree Kuchibhotla
f95f125506
Minor changes
2016-07-19 17:47:46 -07:00
Sree Kuchibhotla
bb5519f5a5
More changes
2016-07-19 11:00:39 -07:00
Sree Kuchibhotla
0ba41907a2
Minor changes to GrpcRpcManager
2016-07-19 09:28:39 -07:00
Sree Kuchibhotla
8600438d54
Add more functionality (no cq integration yet) and add a dummy test
2016-07-19 02:00:50 -07:00
Yuchen Zeng
1318479011
Separate generated file and protobuf dependency
2016-07-18 13:07:42 -07:00
Sree Kuchibhotla
9e656a4340
Initial shell
2016-07-18 13:02:43 -07: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
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
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
98aa0c13f0
Merge branch 'filter_call_init_failure' into filter_api
2016-07-01 14:17:55 -07:00
David Garcia Quintas
6721d4f0f1
Return success status of grpc_byte_buffer_reader
2016-06-30 17:30:08 -07:00
David Garcia Quintas
4281272389
Updated git clone URL
2016-06-29 17:39:07 -07:00
Mark D. Roth
97b173dfb8
Addressed reviewer comments.
2016-06-29 15:07:35 -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
bd3e3189d6
clang-format
2016-06-29 08:01:55 -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
Jan Tattermusch
b6163dfb4a
Merge pull request #6352 from ctiller/error
...
Unifying error handling within core
2016-06-17 18:50:55 -07:00
Vijay Pai
ddf694cc62
Merge branch 'master' into wheezy
2016-06-17 13:41:38 -07:00
Craig Tiller
bc4c3e3a79
Merge github.com:grpc/grpc into error
2016-06-16 16:17:56 -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
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
Nicolas Noble
1e52b1aadf
Merge pull request #6876 from mdyring/master
...
Fix scope problem when GPR_SUPPORT_CHANNELS_FROM_FD is not defined
2016-06-16 10:23:40 -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
6b668cc93f
Remove range-based for, comparisons to nullptr
2016-06-16 07:49:36 +00:00
Vijay Pai
4e1a883a5f
Digraph
2016-06-16 07:32:42 +00:00
Vijay Pai
62eb1c7908
Merge branch 'wheezy' of github.com:vjpai/grpc into wheezy
2016-06-16 00:24:10 -07:00
Vijay Pai
4425828d1d
Should not explicitly initialize these pointers to nullptr in gcc-4.4 case
...
because nullptr assignment actually requires the calling of a constructor.
As a result, the order in which these nullptr initializations take place
is not defined with respect to other initializations.
A pointer that is left without explicit initialization automatically
gets nullptr anyway, so just don't explicitly initialize these.
2016-06-16 06:47:10 +00:00
Vijay Pai
b9e927afcc
Merge branch 'master' into wheezy
2016-06-15 22:57:21 -07:00
Mark D. Roth
ec0bc8b4ed
Initial attempt at a C++ API for defining channel filters.
2016-06-15 14:02:57 -07:00
Craig Tiller
13c0940f66
Merge branch 'idempotent_endpoint_shutdown' into handshake_timeout
2016-06-15 09:41:33 -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
Martin Dyring-Andersen
0de6cea207
Fix scope problem when GPR_SUPPORT_CHANNELS_FROM_FD is not defined
2016-06-10 20:59:44 -04: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
Vijay Pai
eac07c3cc8
WIP
2016-06-10 01:52:20 -07:00
Craig Tiller
05bec5c0ab
Fix uninitialized variable
2016-06-09 23:01:24 -07:00
Vijay Pai
b645a2d3ce
Remove another range-based for
...
Do not make explicit comparisons against nullptr; only use
implicit typecast to bool
2016-06-09 18:39:06 -07:00
Jan Tattermusch
1bc2976a0f
Merge pull request #6481 from dgquintas/compression_md_level_bis
...
Allow servers to select compression level via initial MD & overall compression cleanup
2016-06-08 19:17:20 -07:00
Jan Tattermusch
b81f172206
Merge pull request #6610 from xyzzyz/external_fd_fresh
...
Add support for communication using existing FD (for client and server)
2016-06-08 19:16:40 -07:00
David Garcia Quintas
dd385b6a19
Merge branch 'master' of github.com:grpc/grpc into core_codegen_be_public
2016-06-07 18:51:36 -07:00
Adam Michalik
4ad746e4e0
clang-format, fix headers, windows fixes
2016-06-07 15:09:19 -07:00
Adam Michalik
b97e2d145e
Add C++ support for using external FD
2016-06-07 15:09:19 -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
David Garcia Quintas
55c08f81cf
Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis
2016-06-03 14:18:01 -07:00
Craig Tiller
fa96d86a99
Fix comments
2016-05-21 12:39:56 -07:00
Craig Tiller
8a7fe1a0ef
Fix crash
2016-05-20 11:17:20 -07:00
Craig Tiller
e004958fd6
Fix formatting, mem leak, stall
2016-05-20 10:31:09 -07:00
Craig Tiller
20431a8618
Fix merge
2016-05-20 10:02:07 -07:00
Craig Tiller
0e314bccff
Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into test_affine
2016-05-20 10:00:04 -07:00
Craig Tiller
aae6c2cb96
Fix server plugin test
2016-05-20 08:58:30 -07:00
Craig Tiller
3eee9b4ace
Mark sync cq as non-listening when it is
2016-05-19 11:28:41 -07:00
David Garcia Quintas
a20a2ad41b
moved core_codegen from src/cpp/... to include/grpc++/...
2016-05-19 11:02:01 -07:00
David Garcia Quintas
2d02456e78
got rid of grpc_compression_options
2016-05-17 23:24:39 -07:00
David Garcia Quintas
9e9f7b62c7
Refactorings and renamings related to compression.
...
Also added levels to the channel args options.
2016-05-16 22:06:54 -07:00
Sree Kuchibhotla
8c34e7c3f1
Fix a typo
2016-05-16 19:26:22 -07:00
Sree Kuchibhotla
98a185a72e
Change error to warning since we do not have a good way to determine
...
whether the server is sync or async
2016-05-16 18:45:15 -07:00
Sree Kuchibhotla
4790263c5f
Merge branch 'master' into server_channel_affinity
2016-05-16 11:06:30 -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 Garcia Quintas
183ba02ce7
Renamed some defines
2016-05-12 17:12:34 -07:00
Sree Kuchibhotla
8dbe2cb071
Merge branch 'master' into server_channel_affinity
2016-05-10 10:33:25 -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
Yuchen Zeng
3b8f3354de
Add plugins at the time of static initialization
2016-05-03 12:18:13 -07:00
Yuchen Zeng
a42ec21341
Server builder plugin
2016-04-29 13:05:36 -07:00
David Garcia Quintas
1b2db6333d
Moved protos out of core_codegen interface
2016-04-27 15:09:11 -07:00
Sree Kuchibhotla
30499760db
Merge branch 'master' into server_channel_affinity
2016-04-26 11:27:14 -07:00
Craig Tiller
7beea147e5
Merge github.com:grpc/grpc into strong-includes
2016-04-21 17:07:36 -07:00
Sree Kuchibhotla
01907123f6
generate_projects.sh and fix copyright year
2016-04-21 15:09:13 -07:00
Sree Kuchibhotla
7def036085
Add a safety check to ensure atleast one of the completion queues is
...
listening completion queue (i.e frequently polled)
2016-04-21 14:54:32 -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
Deepak Lukose
dba4c5fd01
Add various options to verify ssl/tls client cert including letting the
...
application handle the authentication.
2016-04-19 15:02:06 -07:00
Craig Tiller
3ab2fe0094
Rollup of changes from the latest import
2016-04-11 20:11:18 -07:00
Jan Tattermusch
abb4f5f3ab
Merge pull request #6070 from ctiller/head-of-line-blocking
...
Fix a head of line blocking issue in the C++ server
2016-04-05 14:31:33 -07:00
Craig Tiller
06cb1a9d93
Initial interface rework to allow knowing whether to pull payload at registration, not at request time
2016-04-04 08:10:47 -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
64a12c55df
Merge github.com:grpc/grpc into copyright-fix
2016-03-31 07:49:58 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
Craig Tiller
3bd9695939
Merge github.com:grpc/grpc into idempotent
2016-03-28 12:43:02 -07:00
Craig Tiller
b7f3f6eec4
Fix copyright
2016-03-25 17:13:09 -07:00
Craig Tiller
9533d042d4
Fix includes
2016-03-25 17:11:06 -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
Craig Tiller
44654553de
Merge github.com:grpc/grpc into idempotent
2016-03-21 09:04:06 -07:00
Jan Tattermusch
dadb32a01f
Merge pull request #5843 from dgquintas/fix-grpc-lib
...
fixed multiple initialization of globals
2016-03-20 15:41:50 -07:00
Jan Tattermusch
8bce393aeb
Merge pull request #5819 from dgquintas/compression_levels
...
Implemented compression level algorithms properly
2016-03-18 16:46:21 -07:00
David Garcia Quintas
146070db8d
fixed multiple initialization of globals
2016-03-18 15:53:28 -07:00
Yuchen Zeng
d85ef06064
Doc Fixit: src/cpp/README.md
...
Replace liquid templates with relative links.
2016-03-18 11:10:13 -07:00
David Garcia Quintas
13c2f6e69d
Implemented compression level algorithms properly (as a function of the accepted algorithms by the call's peer.
2016-03-17 22:51:52 -07:00
Craig Tiller
c65af4d784
Merge github.com:grpc/grpc into idempotent
2016-03-17 07:44:17 -07:00
Craig Tiller
4f7ffa05a4
Merge github.com:grpc/grpc into idempotent
2016-03-16 07:58:20 -07:00
David Garcia Quintas
cd21266b5f
Merge branch 'master' of github.com:grpc/grpc into codegen_lib
2016-03-15 17:10:45 -07:00
vjpai
ee6902bcef
Merge branch 'master' into revert-5599-revert-5572-srv_ctx
2016-03-14 09:47:40 -07:00
David Garcia Quintas
aca123316b
removed spurious namespace qualification
2016-03-09 23:56:54 -08:00
Craig Tiller
5987c70bd1
Punch through flags for incoming calls
2016-03-09 16:55:23 -08:00
David Garcia Quintas
79d9096126
removed spurious grpc_library.cc
2016-03-09 13:57:46 -08:00
Yuchen Zeng
798b0dc442
Doc Fixit: src/cpp/README need more information, revised 03092016
...
- Revised 'protoc' section and 'Documentation' section as LisaFC suggested.
- Added 'Examples' section as LisaFC suggested.
Resolves : #5661
2016-03-09 12:00:09 -08:00
David Garcia Quintas
60ee8dd2fc
docstrings
2016-03-08 17:21:42 -08:00
Yuchen Zeng
341b5abef5
Doc Fixit: src/cpp/README need more information
2016-03-08 17:16:29 -08:00
David Garcia Quintas
1b634717ff
copyright
2016-03-08 16:27:31 -08:00
David Garcia Quintas
b942640497
clang-format
2016-03-08 16:25:11 -08:00
David Garcia Quintas
be25493398
codegen interface usage of gpr_inf_future
2016-03-08 16:24:35 -08:00
David Garcia Quintas
ef6848fe5b
reverted gpr_ time changes
2016-03-08 16:05:30 -08:00
David Garcia Quintas
057a0a2033
fixed wrong refactoring
2016-03-08 15:23:08 -08:00
David Garcia Quintas
723af53419
moved some files around
2016-03-08 14:26:50 -08:00
David Garcia Quintas
8c3d9943f6
compiles!
2016-03-08 00:07:14 -08:00
David Garcia Quintas
e1ce31eda3
wip. cq refactored
2016-03-07 18:19:12 -08:00
David Garcia Quintas
6848c4e145
wip. prior to cq refactoring
2016-03-07 17:10:57 -08:00
Sree Kuchibhotla
b0d1567e8e
Revert "Revert "Properly integrate async API with server-side cancellations.""
2016-03-07 10:51:02 -08:00
David Garcia Quintas
b07938fa22
added missing initializer for global proto_serializer holder to codegen lib
2016-03-06 20:07:30 -08:00
Sree Kuchibhotla
edd96e4926
Revert "Properly integrate async API with server-side cancellations."
2016-03-04 14:32:50 -05: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
David Garcia Quintas
7f7181ffc5
fix comments
2016-03-02 20:42:16 -08:00
David Garcia Quintas
c4f4f7ede9
clang-format
2016-03-02 20:37:24 -08:00
David Garcia Quintas
94c80d8389
copyrights
2016-03-02 20:35:07 -08:00
David Garcia Quintas
f588aeb1e2
introduced workaround for proto_utils
2016-03-02 20:33:28 -08:00
David Garcia Quintas
45add8a445
Merge branch 'master' of github.com:grpc/grpc into alarm_cpp
2016-02-22 23:15:28 -08:00
Craig Tiller
c8d34d50a2
Merge pull request #5287 from yang-g/global_callback_magic
...
Add a way to override channel arguments for server creation
2016-02-22 22:05:32 -08:00
David Garcia Quintas
0160873273
PR comments addressed
2016-02-22 17:49:45 -08:00
David Garcia Quintas
ef02fb9d6f
Merge branch 'master' of github.com:grpc/grpc into alarm_cpp
2016-02-22 17:41:41 -08:00
David Garcia Quintas
4105505b33
Fixed refactoring of grpc_arg pointer vtable
2016-02-17 18:23:15 -08:00
David Garcia Quintas
10e269897f
Merge branch 'master' of github.com:grpc/grpc into alarm_cpp
2016-02-17 17:43:42 -08:00
David Garcia Quintas
5e07d76a86
Made Alarm's constructor a template for deadline
2016-02-17 17:10:41 -08:00
Sree Kuchibhotla
3cce2ecb12
Merge pull request #4859 from ctiller/sceq
...
Subchannel Sharing [The interop tests failures and Basic test failures are unrelated to this change. Merging]
2016-02-17 16:03:52 -08:00
Sree Kuchibhotla
ac94c430d2
Merge pull request #5186 from yang-g/inherit_from_grpc_library
...
Provide explicit API for user to set user agent string prefix
2016-02-17 15:51:57 -08:00
yang-g
eb62c94338
Add a way to override channel arguments for server creation
2016-02-17 15:37:25 -08:00
yang-g
9384dd971a
add comments
2016-02-17 14:25:23 -08:00
Craig Tiller
c0ce00fd16
Merge github.com:grpc/grpc into sceq
2016-02-17 14:25:12 -08:00
yang-g
a3c968d9c2
Merge remote-tracking branch 'upstream/master' into inherit_from_grpc_library
2016-02-12 14:54:16 -08:00
vjpai
d8e2c70fde
Remove a vestige
2016-02-11 14:59:27 -08:00
vjpai
fd307efbd1
fixed_size_thread_pool : why do we even have that lever? It has been
...
deprecated and unused for quite some time.
2016-02-11 14:56:23 -08:00
Vijay Pai
810a13e2d3
Remove a small allocation, at the cost of a little uglier header file.
...
This commit may or may not be a great tradeoff.
2016-02-11 03:30:10 -08:00
Vijay Pai
c41abec7f8
Sanity: clang-format and regen projects
2016-02-11 00:23:21 -08:00
vjpai
8fdafede06
tag fed in by user should be any arbitrary tag, not a CompletionQueueTag
...
type
2016-02-10 23:16:55 -08:00
yang-g
1945ae4285
Fix copyright
2016-02-10 12:48:32 -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
f73429901a
Merge github.com:grpc/grpc into sceq
2016-02-09 16:32:51 -08:00
Craig Tiller
841c726140
Merge github.com:grpc/grpc into sceq
2016-02-02 09:23:22 -08:00
Sree Kuchibhotla
369a04ace6
Address code review comments
2016-02-01 10:53:13 -08:00
Sree Kuchibhotla
7fa9d6f4c8
TryCancel() on ServerContext()
2016-01-28 17:32:48 -08:00
Craig Tiller
8c50db09b9
Merge github.com:grpc/grpc into sceq
2016-01-28 11:38:21 -08:00
David Garcia Quintas
d79ef3af71
Fixed wrong usage of global var
2016-01-28 00:21:27 -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
David Garcia Quintas
5a9462339d
copyrights
2016-01-27 19:22:14 -08:00
David Garcia Quintas
e1300deb87
After GrpcLibrary refactoring. Compiles and passes. WIP still
2016-01-27 18:41:26 -08:00
Vijay Pai
e0b0e27f3a
clang-format
2016-01-27 09:47:33 -08:00
Vijay Pai
17e630af30
Fix a case in bbuf copy constructore
2016-01-26 17:56:20 -08:00
Craig Tiller
64616496e2
Alternative ownership for global callbacks
2016-01-26 14:16:20 -08:00
David Garcia Quintas
b523c732d1
async_stream.h done. Compiles
2016-01-25 18:22:28 -08:00
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
2016-01-25 17:32:48 -08:00
David Garcia Quintas
541db25d45
Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces
2016-01-25 12:53:50 -08:00
Craig Tiller
194824467c
Get subchannel index working
2016-01-25 09:59:20 -08:00
Craig Tiller
5de79ee59f
clang-format
2016-01-25 08:16:02 -08:00
Craig Tiller
8b052112f2
Merge github.com:grpc/grpc into sceq
2016-01-25 08:09:23 -08:00
Bogdan Drutu
2ee3e8d7e8
Merge remote-tracking branch 'upstream/master'
2016-01-24 17:38:15 -08:00
Jan Tattermusch
c4d9f6de66
fix copyrights in server_context
2016-01-23 07:50:25 -08:00
yang-g
5ff8de3452
init deadline_
2016-01-22 16:55:10 -08:00
David Garcia Quintas
a43aadd7e1
fixed copyrights
2016-01-21 10:01:28 -08:00
David Garcia Quintas
08a0a3306e
Made "codedgen" directories closed over #includes
2016-01-21 01:04:36 -08:00
David Garcia Quintas
f3ddb7c55a
clang-format
2016-01-20 16:02:22 -08:00
David Garcia Quintas
a701ed7759
Merge branch 'proto_interfaces' into yang-g-sync_async_mix
2016-01-19 18:44:47 -08:00
Bogdan Drutu
3e60e3228a
Update the copyrights of the modified files.
2016-01-19 13:02:55 -08:00
Craig Tiller
b22aeae462
Merge github.com:grpc/grpc into sceq
2016-01-15 21:13:52 -08:00
yang-g
b971173712
Add tests with a second service
2016-01-15 16:53:08 -08:00
David Garcia Quintas
44f3249018
Introduced ServerInterface
2016-01-15 16:49:16 -08:00
yang-g
1ac6f4594e
warn user when they forget register generic service
2016-01-15 11:46:40 -08:00
yang-g
f48766d347
fix copyright
2016-01-15 11:26:31 -08:00
yang-g
269b8be406
add generic test
2016-01-15 10:46:26 -08:00
Bogdan Drutu
ee142ab634
Merge remote-tracking branch 'upstream/master'
2016-01-14 15:33:30 -08:00
yang-g
25f191d49b
merge with head
2016-01-14 11:51:11 -08:00
yang-g
b9a1377fab
Merge remote-tracking branch 'upstream/master' into sync_async_mix
2016-01-14 09:50:48 -08:00
yang-g
f80573502a
destroy reader after using it
2016-01-14 09:07:58 -08:00
Bogdan Drutu
618051c8ca
Fix the build.
2016-01-14 08:54:43 -08:00
Craig Tiller
754bd26e28
clang-format code
2016-01-14 06:10:15 -08:00
murgatroid99
eeb02ba77a
Update copyrights again
2016-01-13 20:43:33 -08:00
yang-g
d42262e22e
merge with head
2016-01-13 15:32:51 -08:00
yang-g
bef0d8744e
Support sync/async methods in the same service
2016-01-13 15:27:33 -08:00
Craig Tiller
edc2fffb34
Channel args comparisons
2016-01-13 06:54:27 -08:00
Bogdan Drutu
c318d7014b
Add virtual destructors for the default implementations as well.
2016-01-12 16:43:49 -08:00
Vijay Pai
b30bc2aad6
Remove dead code and a thus unneeded change to C++ bbuf
2016-01-11 10:11:50 -08:00
Vijay Pai
6045681003
Merge branch 'master' into bbuf
2016-01-11 10:08:26 -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
vjpai
de332dfcac
Refactor server side to support generic tests.
2016-01-07 10:20:46 -08:00
Vijay Pai
18c0477528
Got rid of all compilation problems, now need to test
2016-01-04 09:52:10 -08:00
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
2015-12-22 13:49:30 -08:00
vjpai
be75ffd028
Merge branch 'master' into bbuf
2015-12-22 10:40:16 -08:00
Bogdan Drutu
6af31bd04f
Fix the naming conflict issue that cause the tests to fail.
2015-12-12 15:39:40 -08:00
Bogdan Drutu
42ab3fa5fa
Add a destructor callback as well
2015-12-11 19:48:19 -08:00
Bogdan Drutu
38d2ad6e96
Add a hook for the default constructor of ClientContext.
2015-12-11 19:29:07 -08:00
Jan Tattermusch
88086373db
make gpr_timespec platform agnostic
2015-12-10 15:04:59 -08:00
Jan Tattermusch
5dc93c363b
include climits
2015-12-07 17:59:35 -08:00
Jan Tattermusch
5b155e5674
more win x64 fixes
2015-12-07 17:59:32 -08:00
Craig Tiller
c9614d3003
Merge pull request #4175 from yang-g/tcp_refactor
...
Refactor security connector and handshake
2015-12-03 13:30:34 -08:00
Craig Tiller
35c1d3c462
Merge pull request #4207 from yang-g/server_builder_options
...
Server builder options
2015-12-03 11:39:44 -08:00
jboeuf
6f9b171842
Merge pull request #4204 from ctiller/emergency-cheese-and-crackers
...
Global hook for doing something in response to a synchronous server call
2015-12-02 20:55:37 -08:00
Craig Tiller
06dd04cfd3
Further review feedback
2015-12-02 15:56:27 -08:00
yang-g
d88e1d8f4e
merge with head and resolve conflict
2015-12-02 13:23:33 -08:00
Craig Tiller
8352b9e997
Review feedback
2015-12-02 11:43:40 -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
vjpai
594f0c43e0
Merge branch 'master' into bbuf
2015-11-30 15:53:49 -08:00
vjpai
b6df94ad22
WIP
2015-11-30 15:52:50 -08:00
yang-g
52705590e4
Add set pointer api to channel_arguments
2015-11-25 11:45:33 -08:00
yang-g
a23f17b123
add server_builder_option
2015-11-25 10:21:05 -08:00
Craig Tiller
7221d999bb
Global hook for doing something in response to a synchronous server call
2015-11-24 06:59:33 -08:00
Julien Boeuf
114f39475f
Cpp example of how the plugins can be done.
2015-11-19 22:24:05 -08:00
Julien Boeuf
caf9935e45
Also adding a credentials type to the plugin API.
...
The purpose of this is to be able to install a composition policy that
describes which types are incompatible and that will be enforced during
call creds composition.
If this functionality is wanted it will be done in an additive function in
the API like :
void grpc_call_credentials_set_composite_policy(
grpc_call_credentials_composite_policy policy);
2015-11-19 22:00:30 -08:00
Julien Boeuf
3c957e60a3
Fixing implementations.
2015-11-18 21:33:58 -08:00
Craig Tiller
b113649517
clang-format
2015-11-18 11:30:17 -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
9beccc6024
Merge github.com:grpc/grpc into new_op
2015-11-04 09:09:24 -08:00
Craig Tiller
187c4b36d9
Merge pull request #3177 from podsvirov/topic-grpc-string-ref-npos-redifinition
...
Move static value grpc::string_ref::npos definition to cc file
2015-11-04 08:04:56 -08:00
Craig Tiller
5925603101
stream_op cleanup: miscellany
2015-11-02 14:19:15 -08:00
Julien Boeuf
3bb61d8917
Merge branch 'master' of https://github.com/grpc/grpc into core_creds_api_change
2015-10-17 22:14:29 -07:00
David Garcia Quintas
5f9e979e8c
Merge branch 'master' of github.com:grpc/grpc into cq_alarm
2015-10-13 15:26:33 -07:00
David Garcia Quintas
9c97aaed08
Merge branch 'master' of github.com:grpc/grpc into cq_alarm
2015-10-12 21:21:18 -07:00
Julien Boeuf
54a902ed17
Successfully compile C++ libary (not tests yet).
2015-10-12 14:09:03 -07:00
Craig Tiller
2b15f1e25a
Merge github.com:grpc/grpc into latent-see
2015-10-09 17:07:56 -07:00
Craig Tiller
0ba432d445
Move profiling system to gpr
2015-10-09 16:57:11 -07:00
Craig Tiller
1f41b6b5ed
Simplify adding annotations, annotate more things
2015-10-09 15:07:02 -07:00
Craig Tiller
86253ca1da
Latency traces
2015-10-08 13:31:02 -07:00
David Garcia Quintas
7fd0fd5023
C++ Alarm implementation (with tests).
2015-10-07 19:04:58 -07:00
yang-g
b063c87596
mark unreachable code with a macro
2015-10-07 11:40:13 -07:00
Tim Emiola
25061413cf
Merge pull request #3602 from grpc/release-0_11
...
Upmerge from beta to master.
2015-10-02 13:43:14 -07:00
Tim Emiola
9908877a73
Update README.mds that don't currently have Status 'Beta'
2015-10-01 10:54:25 -07:00
Craig Tiller
b7a597771f
Merge github.com:grpc/grpc into clangf
2015-10-01 08:01:58 -07:00
Vijay Pai
e547bdf4d7
Fix an assert
2015-09-29 23:29:38 +00:00
Vijay Pai
e57abcfbdb
C++ changes required to maintain gcc4.4 compatibility - reduce use
...
of ambiguous nullptr, eliminate use of brace initializer lists
2015-09-29 22:55:34 +00:00
Craig Tiller
71a0f9d3b0
Fix clang-format script
2015-09-28 17:22:01 -07:00
Nicolas Noble
0f9a118f4e
Merge pull request #3474 from ctiller/clang_format
...
Add clang-format to sanity
2015-09-25 22:04:11 -07:00
Craig Tiller
dd69342218
Merge github.com:grpc/grpc into clang_format
2015-09-25 09:56:52 -07:00
Craig Tiller
cc5dc5bbaf
Fast path for proto serialization for small protos
2015-09-24 17:02:22 -07:00
Craig Tiller
ddf3a511aa
Add clang-format to sanity
2015-09-24 13:03:44 -07:00
Craig Tiller
04456843cd
Windows fixes
2015-09-23 10:07:16 -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
Julien Boeuf
14929d4e35
Credentials plugin fixes (after the branch was merged).
2015-09-21 20:57:26 -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
David Garcia Quintas
49dd250565
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-09-08 16:01:09 -07:00
yang-g
61e461e890
Guard against empty vector
2015-09-03 15:54:05 -07:00
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
2015-09-03 09:37:02 -07:00
yang-g
deb3d2255d
Add missed header
2015-09-01 12:51:28 -07:00
Konstantin Podsvirov
dc90c13bec
Move static value grpc::string_ref::npos definition to cc file
2015-09-01 16:18:57 +03:00
Julien Boeuf
2d041188db
Design and implementation of the core credentials plugin API.
...
- We use C++ as an example to show how this API can be used while still
providing an idiomatic interface in the wrapped language of choice.
- No testing yet.
2015-08-31 20:30:09 -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
Craig Tiller
89d56103eb
Merge pull request #3104 from yang-g/create_channel
...
Create channel API change
2015-08-27 21:04:56 -07:00
Julien Boeuf
459faf3821
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-27 16:07:46 -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
Craig Tiller
08348334e5
Merge pull request #2947 from jboeuf/grpc_security_abi
...
First draft at addressing #1799 for grpc_security.
2015-08-27 12:43:25 -07:00
yang-g
730055d962
implementation fix
2015-08-27 12:29:45 -07:00
yang-g
dafcce980d
channel creation API change
2015-08-27 11:34:05 -07:00
Julien Boeuf
35b559f6f7
Aligning C++ interface with C for the auth metadata processor.
2015-08-26 23:17:35 -07:00
yang-g
0d9f81f741
minor fixes
2015-08-26 22:04:30 -07:00
Julien Boeuf
5b3516e2c5
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
2015-08-26 11:19:10 -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
47ec9a40ad
Add ostream support for string_ref
2015-08-26 09:47:51 -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
Julien Boeuf
c5b570f97e
Adding void* at then end of security related method in order to have a stable ABI.
2015-08-25 17:47:55 -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
yang-g
d5539ec6e2
remove constexpr since gcc 4.4 or vs2010 does not support it
2015-08-25 11:05:29 -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
9d1f0c4a0c
Fix merge failures
2015-08-24 16:08:36 -07:00
yang-g
3e4bd9598b
merge with head
2015-08-24 15:54:07 -07:00
David Garcia Quintas
e4f7c2fd13
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-08-24 15:31:59 -07:00
Vijay Pai
0660eaca00
Merge branch 'master' into fray
2015-08-24 14:33:39 -07:00
David Garcia Quintas
d09bae5b48
Merge branch 'compression-accept-encoding' of github.com:dgquintas/grpc into compression-accept-encoding
2015-08-24 12:11:26 -07:00
David Garcia Quintas
c43648f250
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-08-24 12:08:38 -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
Craig Tiller
849c7ca4b2
prettify comment
2015-08-21 16:06:05 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00
yang-g
961eeb0b44
Merge remote-tracking branch 'upstream/master' into docs
2015-08-20 12:18:28 -07:00
yang-g
c317f07b56
Make Channel ctor private
2015-08-20 12:18:08 -07:00
yang-g
ef00308e39
remove internal_stub
2015-08-20 11:40:51 -07:00
yang-g
c2bd8a6d1a
Fix server side and generic stub
2015-08-20 11:40:12 -07:00
Yang Gao
48c9f250c2
Merge pull request #2977 from ctiller/shutdown-c++
...
Add a deadline to Server::Shutdown
2015-08-19 21:49:10 -07:00
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
David Garcia Quintas
cb30410b10
Comments and derived bugfixes.
2015-08-19 15:50:54 -07:00
yang-g
2f543f205c
Bug fix. Called c_str on a temp string
2015-08-19 15:14:17 -07:00
Craig Tiller
86d31776a8
Fix syncronous unimplemented methods
2015-08-19 12:52:50 -07:00
Craig Tiller
681a291d12
Extend comment
2015-08-19 11:31:25 -07:00
Craig Tiller
9374ce819b
Add comments, fix a subtle bug
2015-08-19 10:15:44 -07:00
David Garcia Quintas
7fc37a2385
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
2015-08-18 16:11: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
Craig Tiller
e50e5cbde2
Add a timeout to shutdown to forcefully end calls
2015-08-18 12:44:57 -07:00
Craig Tiller
d6c98df792
clang-format all source
2015-08-18 09:33:44 -07:00
Craig Tiller
bb1c795f99
Merge pull request #2965 from yang-g/lame_client_error_message
...
Let lame_client accept error status
2015-08-18 09:27:28 -07:00
yang-g
c31cd86a74
Let lame_client accept error status
2015-08-17 15:37:27 -07:00
Craig Tiller
f2066040d2
Merge github.com:grpc/grpc into y12kdm3
2015-08-17 15:04:09 -07:00
Craig Tiller
629c6f534f
Re-add accidentally deleted code
2015-08-17 14:59:51 -07:00
Vijay Pai
2461bf675e
Merge pull request #2907 from yang-g/error_code_conforming
...
return StatusCode::INTERNAL for proto parsing error
2015-08-17 13:59:07 -07:00
Craig Tiller
8f7bff7d48
Merge github.com:grpc/grpc into y12kdm3
2015-08-17 13:23:14 -07:00
Julien Boeuf
bc265583d6
Addressing comments. Thanks Yang!
2015-08-17 13:23:05 -07:00
Julien Boeuf
8da211f638
Forgot to commit this file...
2015-08-14 12:57:42 -07:00
Julien Boeuf
bf25bb01bb
Few improvements:
...
- Guarantee the lifetime of objects passed to the processor.
- Add an option for implementers of the processor to make it
non-blocking.
2015-08-14 12:36:11 -07:00
vjpai
1c9ba198c3
Make comment look finished
2015-08-14 10:54:10 -07:00
Vijay Pai
8fe60a87ea
Use emplace_back properly and when appropriate, considering limitations
...
of gcc4.4
2015-08-14 17:02:59 +00:00
Julien Boeuf
d3920a28c6
Fixing build after sync with upstream master.
2015-08-13 22:33:58 -07:00
Julien Boeuf
455dc6ff0d
Merge branch 'master' of https://github.com/grpc/grpc into cpp_auth_md_processor
2015-08-13 22:25:15 -07:00
Julien Boeuf
5941335be3
Fixing lifetime of input metadata issue.
2015-08-13 22:03:56 -07:00
Julien Boeuf
c2274e7069
Adding C++ auth metadata processor.
...
- We always do the processing asynchronously but maintain a synchronous
API for the implementor of the processor.
- there are a lot of string copies right now. Having a StringPiece
object in grpc++ would really help with that (as we would use it for
C++ metadata).
- Please review the API carefully and if you're happy with it, I'll
proceed with tests.
2015-08-13 17:25:52 -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
523201cee0
remove redundant ctor
2015-08-13 14:47:42 -07:00
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
2015-08-13 11:15:53 -07:00
Nicolas "Pixel" Noble
d53b389607
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
src/cpp/client/channel.cc
src/cpp/client/client_context.cc
2015-08-13 19:20:39 +02:00
David G. Quintas
edb1d616dc
Merge pull request #2890 from yang-g/client_context
...
client code clean up
2015-08-13 07:31:13 -07:00
yang-g
f99c090625
return StatusCode::INTERNAL for proto parsing error
2015-08-12 13:21:58 -07:00
yang-g
37ce034dc1
add const
2015-08-12 11:46:26 -07:00
Nicolas "Pixel" Noble
b457cd831a
Merge remote-tracking branch 'google/master' into the-ultimate-showdown
...
Conflicts:
src/csharp/ext/grpc_csharp_ext.c
2015-08-12 01:14:17 +02:00
yang-g
0c034a01d1
client code clean up
2015-08-11 12:37:32 -07:00
yang-g
9fc755f465
Add to all secure credentials
2015-08-10 16:39:08 -07:00
yang-g
e71a6b094b
call grpc_init for defaultcredentials
2015-08-10 15:48:34 -07:00
David Garcia Quintas
beac88ca56
Server: added the ability to disable compression algorithm
2015-08-10 15:08:41 -07:00
yang-g
ffc8a6b431
move auth property iterator declaration into auth_context.h
2015-08-10 12:26:39 -07:00
Nicolas "Pixel" Noble
9d72b149a9
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
include/grpc/grpc.h
src/core/surface/channel.c
src/core/surface/channel_create.c
src/core/surface/completion_queue.c
src/cpp/client/channel.cc
src/cpp/client/insecure_credentials.cc
src/csharp/ext/grpc_csharp_ext.c
src/node/ext/call.cc
src/node/ext/channel.cc
src/php/ext/grpc/call.c
src/php/ext/grpc/channel.c
src/python/grpcio/grpc/_adapter/_c/types/channel.c
src/ruby/ext/grpc/rb_channel.c
test/core/end2end/dualstack_socket_test.c
test/core/end2end/fixtures/chttp2_fullstack.c
test/core/end2end/fixtures/chttp2_fullstack_compression.c
test/core/end2end/fixtures/chttp2_fullstack_uds_posix.c
test/core/end2end/fixtures/chttp2_fullstack_with_poll.c
test/core/end2end/multiple_server_queues_test.c
test/core/end2end/no_server_test.c
test/core/end2end/tests/bad_hostname.c
test/core/end2end/tests/cancel_after_accept.c
test/core/end2end/tests/cancel_after_accept_and_writes_closed.c
test/core/end2end/tests/cancel_after_invoke.c
test/core/end2end/tests/cancel_before_invoke.c
test/core/end2end/tests/cancel_in_a_vacuum.c
test/core/end2end/tests/census_simple_request.c
test/core/end2end/tests/disappearing_server.c
test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
test/core/end2end/tests/empty_batch.c
test/core/end2end/tests/graceful_server_shutdown.c
test/core/end2end/tests/invoke_large_request.c
test/core/end2end/tests/max_concurrent_streams.c
test/core/end2end/tests/max_message_length.c
test/core/end2end/tests/ping_pong_streaming.c
test/core/end2end/tests/registered_call.c
test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
test/core/end2end/tests/request_response_with_metadata_and_payload.c
test/core/end2end/tests/request_response_with_payload.c
test/core/end2end/tests/request_response_with_payload_and_call_creds.c
test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
test/core/end2end/tests/request_with_compressed_payload.c
test/core/end2end/tests/request_with_flags.c
test/core/end2end/tests/request_with_large_metadata.c
test/core/end2end/tests/request_with_payload.c
test/core/end2end/tests/server_finishes_request.c
test/core/end2end/tests/simple_delayed_request.c
test/core/end2end/tests/simple_request.c
test/core/end2end/tests/simple_request_with_high_initial_sequence_number.c
test/core/fling/client.c
test/core/fling/server.c
test/core/surface/lame_client_test.c
2015-08-08 01:45:38 +02:00
yang-g
87e133e13a
merge with head
2015-08-06 22:51:27 -07:00
yang-g
c8abca8f53
Resolve comments
2015-08-06 22:50:16 -07:00
Craig Tiller
2c3be1df4f
Add tests for C++ propagation
2015-08-05 15:59:27 -07:00
yang-g
8708dd76c1
Add WaitForState
2015-08-05 15:57:14 -07:00
Craig Tiller
bb5361453f
C++ context propagation
2015-08-05 15:18:19 -07:00
yang-g
36f5965247
clean up and add a test
2015-08-05 15:15:18 -07:00