Yash Tibrewal
c71b2f4fb7
Global Interceptor Registration allowed only once
2019-02-07 19:36:51 -08:00
Nicolas "Pixel" Noble
cabbd35014
Reformat.
2019-01-24 23:42:12 +01:00
Nicolas "Pixel" Noble
dffbe4a1eb
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-01-23 21:40:25 +01:00
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
2019-01-23 21:40:07 +01:00
Lei Huang
3bd12ee2a8
grpc: init compression_algorithm_ in ClientContext ctor
...
`compression_algorithm_` could be a random value because not
initialized in ctor.
2019-01-17 16:22:30 -07:00
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
2018-12-13 10:38:12 -05:00
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
2018-12-06 15:51:31 -08:00
Vijay Pai
ea1156da3f
Stop exposing streaming object class
2018-11-30 04:13:40 -08:00
Vijay Pai
d7eb26648d
Client callback streaming
2018-11-30 04:13:40 -08:00
Yang Gao
e4e564679b
Merge pull request #17154 from liutongxuan/master
...
g_default_client_callbacks shouldn't be global variable
2018-11-20 14:10:34 -08:00
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
2018-11-15 16:49:43 -08:00
tongxuan.ltx
c21393e553
g_default_client_callbacks shouldn't be global variable
...
In tensorflow, RPC client thread doesn't active release,
rely on process to cleanup. If process have already
cleanup the global variable(g_default_client_callbacks),
after that client issue a RPC call which contains the ClientContext,
then once ClientContext destructor called,
pure virtual functions call error is reported.
2018-11-09 12:34:59 +08:00
Yash Tibrewal
193b4b57ec
Merge pull request #17072 from yashykt/interceptor_cancellation
...
Interceptors should see a Cancellation notification
2018-11-06 14:56:24 -08:00
Yash Tibrewal
4cc3717e15
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
2018-11-05 15:03:57 -08:00
Yash Tibrewal
f8561952e9
Don't use default capture
2018-11-05 12:15:56 -08:00
Yash Tibrewal
e08a2b387a
Prefer lambda expressions over std::bind
2018-11-02 15:56:57 -07:00
Yash Tibrewal
3ac7f2d24c
Merge pull request #17053 from yashykt/global_interceptor
...
Add global client interceptor factory
2018-11-02 08:56:16 -07:00
Yash Tibrewal
b732e9c403
Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests
2018-11-01 16:14:40 -07:00
Yash Tibrewal
fd88dcaf55
Add cancellation notification
2018-11-01 11:58:46 -07:00
Yash Tibrewal
3ece34d45c
Let us clean a few things before getting started
2018-10-31 15:29:26 -07:00
Vijay Pai
932abf48a3
Address reviewer comments.
2018-10-31 01:02:07 -07:00
Yash Tibrewal
0390b29e15
Register global interceptors functionality
2018-10-30 02:43:01 -07:00
Yash Tibrewal
c2e3fde9b5
Rename call.h to call_op_set.h and call_wrapper.h to call.h
2018-10-26 15:15:48 -07:00
Yash Tibrewal
b358ef85dc
Merge branch 'master' into interceptors
2018-10-22 10:39:27 -07:00
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
2018-10-22 02:42:03 -07:00
Yash Tibrewal
0b785ae8cf
Remove unneeded file
2018-10-17 14:37:35 -07:00
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
2018-10-16 14:10:30 -07:00
Yash Tibrewal
6f05a711e6
Adding a test
2018-10-16 14:10:17 -07:00
Yash Tibrewal
63bdf4e236
More changes for client interception
2018-10-16 14:10:02 -07:00
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
2018-10-16 14:09:34 -07:00
Yash Tibrewal
130eeeaeb9
Merge branch 'master' into interceptors_initial
2018-10-02 14:49:17 -07:00
Yash Tibrewal
1d999617e2
Add experimental versions with interceptors for create channel from fd and inproc channel
2018-09-30 22:13:44 -07:00
Yash Tibrewal
b741edf37e
Error fixes
2018-09-27 17:34:19 -07:00
Soheil Hassas Yeganeh
80ce1865d7
Make SliceFromArray() static in channel_cc.cc.
...
Also, use `context->authority_` instead of `context->authority()`
for consistency.
2018-09-27 11:27:15 -04:00
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
2018-09-26 19:25:30 -07:00
Soheil Hassas Yeganeh
369cfe118c
Use SliceFromCopiedString() for host name.
...
This is to address Yang's review comment.
2018-09-25 21:59:15 -04:00
Soheil Hassas Yeganeh
c1a1d66864
Avoid allocating temporary strings in Channel::CreateCall().
...
Add `SliceFromArray()` which takes a `char*` instead of
`const string&`, to save string allocations for copying from a `char *`.
Use the new API to eliminate two string allocations and copies per call for
method and host names.
release-note: no
2018-09-25 17:50:45 -04:00
Vijay Pai
9e6511ae2e
Make the core callback interface API so that it can be used in generated code
2018-09-19 23:57:56 -07:00
Vijay Pai
6b6bdbbb76
Address reviewer and clang-tidy comments
2018-08-30 15:46:27 -07:00
Vijay Pai
8bf52535d1
Provide a generic client-side unary callback API
2018-08-30 15:46:27 -07:00
Mark D. Roth
f7e72560b6
Add experimental API for resetting connection backoff.
2018-08-06 14:46:53 -07:00
Yihua Zhang
acc6ba0c24
Add C++ wrapper for local credentials
2018-07-24 12:00:49 -07:00
Ian Haken
68eff58df6
Create verify_peer_options when creating ssl credentials in order to expose a verification callback option.
...
These options are not yet exposed to languages outside of core.
2018-06-12 12:59:37 -07:00
Yihua Zhang
fe2fa0c1c8
Add C++ experimental API extensions for ALTS C stack
2018-04-16 15:11:32 -07:00
Vijay Pai
7fed69b7ad
Use static_cast rather than reinterpret_cast whenever possible
2018-03-05 16:35:10 -08:00
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-02-19 22:39:58 -08:00
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
2018-02-15 14:49:34 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Vijay Pai
239b7d4b0b
Merge branch 'master' into gpr_review
2018-02-08 11:08:41 -08:00
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
2018-02-02 09:16:44 -08:00
David Garcia Quintas
a21ab2ba29
Fix compression algorithm accessors
2018-02-01 16:24:00 -08:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
2018-01-12 10:16:22 +01:00
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
2018-01-08 10:02:38 -08:00
Craig Tiller
be98d24841
clang-format after nullptr changes
2017-11-10 15:26:57 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Yuchen Zeng
b16df75471
Update with internal C++ interfaces
2017-10-30 12:09:16 -07:00
Yuchen Zeng
6a48dc544e
Remove c++ channel connectivity watcher
2017-10-30 12:06:52 -07:00
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
2017-10-27 10:22:51 -07:00
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
2017-10-26 14:28:26 -07:00
Vijay Pai
53cec0fc8f
Update create_channel.cc
2017-10-17 06:46:19 -07:00
Krasimir Georgiev
1f42fae4c5
Fix initialization bug in channel creation
2017-10-17 08:38:20 +02:00
ncteisen
520cc8f555
Fix ClangTidy
2017-09-29 10:37:45 -07:00
Mark D. Roth
ede8ed2156
Merge pull request #12374 from markdroth/plugin_credentials_api_fix
...
Change plugin credentials API to support both sync and async modes
2017-09-29 07:26:50 -07:00
yang-g
cfd20c4262
Add CompositeCallCredentials
2017-09-28 22:00:35 -07:00
Mark D. Roth
61b26f97b0
Code review changes.
2017-09-28 08:40:03 -07:00
Mark D. Roth
b4c01f9e29
Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix
2017-09-25 12:36:30 -07:00
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
2017-09-21 22:23:44 -07:00
Yash Tibrewal
9eb8672bbe
Removing deprecated string to char * conversions
2017-09-17 23:55:58 -07:00
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
2017-09-14 17:55:13 -07:00
Mark D. Roth
0aee498525
Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix
2017-09-08 08:01:29 -07:00
Mark D. Roth
1ff6ee12cc
clang-format
2017-09-06 14:56:18 -07:00
Yuchen Zeng
26b0a34fbe
Address review comments
2017-09-05 13:32:44 -07:00
Yuchen Zeng
5150cbd02d
Fix timer shutdown process
2017-09-01 23:05:15 -07:00
Mark D. Roth
2caf021772
Change plugin credentials API to support both sync and async modes.
2017-09-01 15:04:13 -07:00
Yuchen Zeng
4a11ecc076
Add ChannelConnectivityWatcher::Ref()/Unref()
2017-08-25 15:17:45 -07:00
Yuchen Zeng
ba23e799dc
Sanity fixes
2017-08-24 23:13:09 -07:00
Yuchen Zeng
504be5c693
Privatize ChannelConnectivityWatcher members
2017-08-24 17:47:43 -07:00
Yuchen Zeng
ddaef3e325
Remove non-POD global variables
2017-08-24 15:34:52 -07:00
Yuchen Zeng
f1d50983ae
Document GRPC_DISABLE_CHANNEL_CONNECTIVITY_WATCHER
2017-08-24 12:08:03 -07:00
Yuchen Zeng
33845d08d4
Check env variable
2017-08-24 03:28:51 -07:00
Yuchen Zeng
b4481a9a13
Share one monitoring thread between channels
2017-08-24 03:13:42 -07:00
Yuchen Zeng
bfb4e06e3c
Check connectivity intermittently
2017-08-23 23:47:15 -07:00
Yuchen Zeng
4d88416c11
Remove atm in ChannelConnectivityWatcher
2017-08-23 15:20:01 -07:00
Yuchen Zeng
a2e506e8d9
Avoid using timers
2017-08-22 20:46:52 -07:00
Yuchen Zeng
6a6d618034
Prevent watching unsuppoted channels
2017-08-22 18:56:25 -07:00
Yuchen Zeng
2411bacd04
Address review comments
2017-08-22 18:56:25 -07:00
Yuchen Zeng
ee3e3310bb
Add reconnect channel tests
2017-08-22 18:56:25 -07:00
Yuchen Zeng
be9b814240
Add ChannelConnectivityWatcher
2017-08-22 18:56:25 -07:00
Garret Kelly
9663d0337e
Add a GrpcLibraryInitializer to client_context.cc
...
It's feasible that a program be written/linked such that it only use
ClientContext from grpc++, which could end up with the other instances
of GrpcLibraryInitializer not ending up in the final binary. Add a
GrpcLibraryInitializer to client_context.cc to ensure that the library
is initialized. The primary side-effect of the library not being
initialized when only using a ClientContext is that the destructor for
ClientContext indirectly ends up trying to call through
g_core_codegen_interface when destructing its metadata, which is null.
2017-07-31 15:07:59 -04:00
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
2017-07-25 00:43:30 -07:00
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Craig Tiller
d4e9a4863a
Convert all async client stream types to not allocate
2017-04-05 15:41:59 -07:00
Craig Tiller
66051c618f
Async end2end test passes
2017-03-31 09:16:35 -07:00
Craig Tiller
dd36b15315
Call ref/unref, bugfixes
2017-03-31 08:27:28 -07:00
Yuxuan Li
bdc76ab37b
bug fix
2017-03-08 10:59:31 -08:00
Yuxuan Li
34894e4b1c
Implemented stream coalescing design
...
(RFC:https://github.com/grpc/proposal/pull/3 ). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -08:00
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97 .
2017-01-23 07:48:42 -08:00
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
2017-01-20 18:11:52 -08:00
Craig Tiller
1d83a701b6
Fix memory leak
2017-01-17 09:35:42 -08:00
Craig Tiller
28ea6f0fbc
Fix memory corruption
2017-01-13 08:21:24 -08:00
Craig Tiller
95beab2284
Uncover the badness
2017-01-12 13:41:52 -08:00
Craig Tiller
cca7589333
Start moving C++ to slice interfaces
2016-11-21 08:45:38 -08:00
Mark D. Roth
4bbdda4444
Allow getting LB policy name and service config in C++ API.
2016-11-09 14:40:22 -08:00
Craig Tiller
32df467f11
Merge github.com:grpc/grpc into grpc_slice
2016-11-04 08:21:56 -07:00
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
2016-11-01 17:16:55 -07:00
Vijay Pai
713c7b87e1
clang-format
2016-11-01 16:33:18 -07:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
Craig Tiller
28b72428a8
clang-format
2016-10-26 21:15:29 -07:00
Craig Tiller
6e080a3651
Merge branch 'buffer_pools_for_realsies' into grpc_slice
2016-10-26 21:00:53 -07:00
Craig Tiller
b37d53ebc0
Bulk update #includes
2016-10-26 16:16:35 -07:00
Garrett Casto
07ecd9d08c
Add copyright header
2016-10-21 14:31:39 -07:00
Garrett Casto
a2a325048d
Clang format
2016-10-20 16:51:04 -07:00
Garrett Casto
7ec31718f4
Merge remote-tracking branch 'upstream/master' into cronet_cpp_api
2016-10-17 09:56:43 -07:00
Garrett Casto
37e3cc0c2a
Remove stale comment
2016-10-10 16:38:07 -07:00
Garrett Casto
931a26bf5b
Add C++ Api
2016-10-04 09:18:29 -07:00
Mark D. Roth
4944ee23df
Merge remote-tracking branch 'upstream/master' into fail_fast
2016-09-30 10:47:24 -07:00
Yang Gao
d24b822d73
Merge pull request #8046 from gislan/master
...
Add method for creating insecure channel from FD with custom arguments using C++ API.
2016-09-29 13:39:12 -07:00
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
9477724003
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-09-27 13:07:00 -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
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
Makarand Dharmapurikar
2b98b77225
add cacheable option to client_context
2016-09-07 14:24:15 -07:00
Craig Tiller
102fa966b6
Rename some files to avoid conflicting .obj files on Windows
2016-08-22 13:56:36 -07:00
David Garcia Quintas
c79b0650d2
removed codegen/log.h
2016-07-27 21:11:58 -07:00
Craig Tiller
05bec5c0ab
Fix uninitialized variable
2016-06-09 23:01:24 -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
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
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
Craig Tiller
3ab2fe0094
Rollup of changes from the latest import
2016-04-11 20:11:18 -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
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -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
David Garcia Quintas
146070db8d
fixed multiple initialization of globals
2016-03-18 15:53:28 -07:00
David Garcia Quintas
60ee8dd2fc
docstrings
2016-03-08 17:21:42 -08:00
yang-g
d59ad7ef39
Provide explicit API for user to set user agent string prefix
2016-02-10 12:42:53 -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
David Garcia Quintas
b523c732d1
async_stream.h done. Compiles
2016-01-25 18:22:28 -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
Bogdan Drutu
3e60e3228a
Update the copyrights of the modified files.
2016-01-19 13:02:55 -08:00
Bogdan Drutu
618051c8ca
Fix the build.
2016-01-14 08:54:43 -08:00
Bogdan Drutu
c318d7014b
Add virtual destructors for the default implementations as well.
2016-01-12 16:43:49 -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
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
yang-g
d88e1d8f4e
merge with head and resolve conflict
2015-12-02 13:23:33 -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
yang-g
52705590e4
Add set pointer api to channel_arguments
2015-11-25 11:45: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
Julien Boeuf
232d625a84
Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change
2015-11-17 20:55:13 -08:00
yang-g
a89bf50cf1
Handle cancel before start case
2015-11-17 14:19:17 -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
Julien Boeuf
54a902ed17
Successfully compile C++ libary (not tests yet).
2015-10-12 14:09:03 -07:00
Craig Tiller
86253ca1da
Latency traces
2015-10-08 13:31:02 -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
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
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
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
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
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-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
yang-g
2f543f205c
Bug fix. Called c_str on a temp string
2015-08-19 15:14:17 -07:00
Craig Tiller
d6c98df792
clang-format all source
2015-08-18 09:33:44 -07:00
yang-g
c31cd86a74
Let lame_client accept error status
2015-08-17 15:37:27 -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
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