Commit Graph

434 Commits

Author SHA1 Message Date
David Garcia Quintas 7fd0fd5023 C++ Alarm implementation (with tests). 2015-10-07 19:04:58 -07:00
Craig Tiller dd69342218 Merge github.com:grpc/grpc into clang_format 2015-09-25 09:56:52 -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
David Garcia Quintas 328deb28de Removed grpc_security.h from auth_context.h 2015-09-03 11:33:04 -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
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 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
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 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
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