148 Commits

Author SHA1 Message Date
Craig Tiller
f676580386 Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
murgatroid99
9cd4540e69 Simplified some code and added tests to increase code coverage 2015-12-09 16:12:37 -08:00
Seongjin Cho
b791684b4c Fixes memory leak when receiving data 2015-12-03 11:42:49 -08:00
Seongjin Cho
a11079ba4b Memory leak fix? 2015-12-03 11:42:32 -08:00
Julien Boeuf
b6d16885ef 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
f011452c08 Fixing node build. 2015-11-18 22:12:29 -08:00
Julien Boeuf
4405daeb0a Fixing implementations. 2015-11-18 21:33:58 -08:00
Julien Boeuf
211b339943 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 15:05:45 -08:00
murgatroid99
d9ed9bc01a Fixed incorrect type in a malloc in Node extension 2015-11-09 11:04:07 -08:00
murgatroid99
5ea756598e Updated Node credentials API to match core API change 2015-10-20 16:10:20 -07:00
murgatroid99
d84ad122f9 Refactored some C++ code to improve code reuse 2015-10-12 16:12:04 -07:00
murgatroid99
be6598082f Add some tests to increase coverage, fix some failures 2015-10-12 13:18:06 -07:00
murgatroid99
c36fb098a7 Resolved merge conflicts 2015-10-07 12:34:24 -07:00
Tim Emiola
edd5525b4f Merge pull request #3625 from murgatroid99/node_single_install_step
Node single install step
2015-10-07 11:55:26 -07:00
murgatroid99
566e277a25 Resolved merge conflicts 2015-10-07 10:49:59 -07:00
murgatroid99
9b0fbb4cf0 Fixed issues with binary metadata type checking 2015-10-06 16:51:50 -07:00
murgatroid99
3a121aa515 Resolved merge conflicts with master 2015-10-06 11:16:49 -07:00
murgatroid99
77cc71f206 Resolved merge conflicts with master 2015-10-05 10:18:05 -07:00
murgatroid99
2e758434b1 Fixed node extension module name 2015-10-02 12:49:03 -07:00
murgatroid99
6f3ca189a7 Prevented composing insecure credentials 2015-10-02 10:23:20 -07:00
murgatroid99
6fcabd1a36 Split Credentials into two types 2015-09-30 14:26:29 -07:00
murgatroid99
49c1c52bb5 Removed now-redundant credentials wrappings 2015-09-28 16:38:38 -07:00
murgatroid99
0e008b11f4 Fixed some issues with new credential code 2015-09-28 16:31:16 -07:00
murgatroid99
ee19e93884 Reworked credentials surface API, added test 2015-09-25 16:04:03 -07:00
murgatroid99
cf3fc84d6d Implemented credentials plugin interface 2015-09-24 16:11:19 -07:00
murgatroid99
0f10c60783 Added most of the plugin implementation 2015-09-24 10:54:55 -07:00
murgatroid99
2a29cd291f Merged from master 2015-09-23 15:58:34 -07:00
murgatroid99
c8ba933fc1 Merged from release_0.11 branch 2015-09-23 11:44:01 -07:00
murgatroid99
fba4d1005a Fixed hang when using Node gRPC with other async operations 2015-09-23 11:38:39 -07:00
murgatroid99
37d03591fd Added function signatures for plugin wrapping 2015-09-23 10:47:35 -07:00
murgatroid99
421706f822 Merged from release_0.11 2015-09-17 14:00:05 -07:00
murgatroid99
231617f5ba Update to nan 2.0 2015-09-17 13:56:25 -07:00
murgatroid99
fc892feb19 Fixed memory leak in Buffer construction 2015-09-14 16:45:31 -07:00
murgatroid99
9a7be95df9 Fixed Op destructors not being called 2015-09-14 16:45:20 -07:00
Yang Gao
131e5567c2 Merge pull request #3075 from jboeuf/credentials_naming_and_cleanup
Credentials naming and cleanup
2015-08-28 15:48:22 -07:00
Julien Boeuf
5bc1ea9964 Merge branch 'master' of github.com:grpc/grpc into credentials_naming_and_cleanup 2015-08-28 14:33:17 -07:00
Tim Emiola
f9937362e8 Merge pull request #3012 from murgatroid99/node_metadata_class
Replace metadata objects with a Metadata class
2015-08-28 11:39:27 -07:00
murgatroid99
8d8e2a3107 Emit proper status when failing to parse server stream 2015-08-27 16:11:08 -07:00
Julien Boeuf
27f432b267 Merge branch 'credentials_naming_and_cleanup' of github.com:jboeuf/grpc into credentials_naming_and_cleanup 2015-08-27 15:49:27 -07:00
murgatroid99
8086ec157d Merge branch 'node_metadata_class' into node_error_code_compliance 2015-08-27 13:18:50 -07:00
Craig Tiller
aa4fd51e55 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
murgatroid99
f3d44ad567 Fixed handling of binary metadata values 2015-08-27 10:04:43 -07:00
Tim Emiola
1ca2e73af3 Merge pull request #2993 from murgatroid99/node_server_graceful_shutdown
Prevent the Node server from locking up when shutting down
2015-08-26 14:23:14 -07:00
Julien Boeuf
8117ff81d1 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
6fefd91642 Adding void* at then end of security related method in order to have a stable ABI. 2015-08-25 17:47:55 -07:00
murgatroid99
02360ea4f7 Merge branch 'master' into node_server_graceful_shutdown 2015-08-21 14:26:13 -07:00
murgatroid99
a9668fa8c5 Merge branch 'node_server_graceful_shutdown' into node_metadata_class 2015-08-20 11:32:08 -07:00
murgatroid99
5bb18030d2 Modified server SSL certs to allow multiple pairs and force_client_auth flag 2015-08-19 14:57:19 -07:00
murgatroid99
47f39044f1 Merge branch 'core_shutdown_idempotency' into node_server_graceful_shutdown 2015-08-19 11:42:51 -07:00
Tim Emiola
886b8f1f8b Merge pull request #2955 from murgatroid99/node_nan_deprecation_warnings
Added an inline C++ function to replace a deprecated nan function
2015-08-19 10:43:33 -07:00