182 Commits

Author SHA1 Message Date
murgatroid99
411c0193f0 Merge remote-tracking branch 'upstream/v1.0.x' into node_package_updates 2016-10-24 11:21:07 -07:00
Tim Ryan
cd84e7368a Compiles with npm install --debug option. 2016-10-21 10:13:46 -07:00
murgatroid99
5ebba7b69a Update Node library dependencies and change deprecated function calls 2016-08-15 13:14:16 -07:00
murgatroid99
5fcc18197b Fix a memory leak in Node call credentials 2016-07-14 13:22:22 -07:00
David Garcia Quintas
a05c874fea Return success status of grpc_byte_buffer_reader 2016-06-30 17:30:08 -07:00
murgatroid99
c390be2ec4 Fix Node Windows build error 2016-06-24 11:06:28 -07:00
Jan Tattermusch
a634de1c18 Merge pull request #6747 from murgatroid99/node_logger_customization
Allow Node users to set a custom logger and log verbosity.
2016-06-24 10:19:31 -07:00
murgatroid99
a62e576d40 Add timestamps to custom log output 2016-06-02 14:33:22 -07:00
Craig Tiller
8aa4818370 GRPC_CHANNEL_FATAL_FAILURE --> GRPC_CHANNEL_SHUTDOWN 2016-06-02 11:07:12 -07:00
murgatroid99
227e336e63 Allow Node users to set a custom logger and log verbosity. Defaults to existing core logger 2016-06-01 11:42:20 -07:00
murgatroid99
717dc41926 Remember to unref the slice 2016-05-25 15:19:09 -07:00
murgatroid99
af02b8c087 Remove extraneous logging code 2016-05-25 15:16:23 -07:00
murgatroid99
e5d3bc1477 Make Node not segfault when it receives a compressed message 2016-05-25 15:14:55 -07:00
Craig Tiller
f02be496e0 Mark port as non-listening 2016-05-25 06:31:12 -07:00
Jan Tattermusch
c3cca0f0a8 Merge pull request #6325 from murgatroid99/node_default_roots
Load default roots.pem in Node via grpc_set_ssl_roots_override_callback
2016-04-28 18:35:08 -07:00
murgatroid99
f93da5341c Load default roots.pem in Node via grpc_set_ssl_roots_override_callback 2016-04-27 16:38:33 -07:00
murgatroid99
a2a3b729ae Fixed minor Node compilation issue 2016-04-27 14:54:40 -07:00
Deepak Lukose
0c82e79880 Add various options to verify ssl/tls client cert including letting the
application handle the authentication.
2016-04-19 15:02:06 -07:00
Craig Tiller
789bed102e Update copyrights 2016-03-31 07:46:18 -07:00
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