Commit Graph

163 Commits

Author SHA1 Message Date
murgatroid99 4a7a8ba3a7 Unref uv_async after construction to avoid blocking at shutdown 2016-03-17 11:49:24 -07:00
murgatroid99 9142cccec5 Fixed copyright 2016-03-16 16:00:07 -07:00
murgatroid99 e856a441db Removed unnecessary include 2016-03-16 11:43:17 -07:00
murgatroid99 930da42c3a Node: made call credentials properly use UV async events. Also deleted some log lines 2016-03-16 11:39:15 -07:00
murgatroid99 57363f0898 Fix copyrights 2016-02-19 16:31:37 -08:00
murgatroid99 0dd0bda233 Node: fix metadata validation bug, improve error reporting 2016-02-19 11:32:31 -08:00
Patryk Lesiewicz ca2ec213e3 Pass delete[] explicitely to Nan::NewBuffer.
Use the Nan::NewBuffer version that accepts an explicit callback
deallocating buffers. This way we'll be resilient to different nan/node
versions.

Fixes grpc/grpc#4867
2016-02-10 11:27:44 -08:00
murgatroid99 c1d0627312 Clang format and fix copyrights 2016-02-05 11:33:30 -08:00
murgatroid99 0bff65cd0e Replace 'long' with 'int64_t' in public core headers 2016-02-05 11:30:00 -08:00
Alistair Veitch 0285389dad post merge 2016-02-02 09:43:02 -08:00
David Garcia Quintas af73647f81 Added back trailing newlines 2016-01-14 15:55:03 -08:00
murgatroid99 3f599065b9 Update copyrights 2016-01-13 17:45:30 -08:00
murgatroid99 5bbf55f0db Merged from master and resolved merge conflicts 2016-01-08 12:33:22 -08:00
murgatroid99 10b3ca0118 Make Node library use core metadata validation instead of duplicating it 2016-01-07 10:03:18 -08:00
Craig Tiller f676580386 Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
murgatroid99 6fbfcace18 Fix a couple of minor issues in the Node library 2015-12-18 15:26:50 -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