Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
2015-08-30 22:18:50 -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
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
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
1eeb21c4df
api change to string_ref
2015-08-25 11:05:50 -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
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
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
2015-08-21 15:49:35 -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
431f8c2b5f
make registermethod private
2015-08-20 10:59:29 -07:00
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
Craig Tiller
9374ce819b
Add comments, fix a subtle bug
2015-08-19 10:15:44 -07:00
Craig Tiller
4d90b21b92
Merge github.com:grpc/grpc into y12kdm3
2015-08-19 08:00:45 -07:00
Craig Tiller
f2aa90aec7
Merge github.com:grpc/grpc into shutdown-c++
2015-08-18 15:47:59 -07:00
yang-g
b9b9d6ee8e
add a README for include/grpc++/impl
2015-08-18 12:56:58 -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
David Garcia Quintas
935c171ee8
Merge branch 'master' of github.com:grpc/grpc into compression-interop
2015-08-17 18:28:00 -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
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
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
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