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
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
Tim Emiola
20350bd89e
Merge pull request #2960 from murgatroid99/node_compression
...
Add per-message compression disabling in Node
2015-08-19 10:42:25 -07:00
murgatroid99
5fd4ed5826
Removed errant NULL setting
2015-08-19 10:34:59 -07:00
Craig Tiller
c95b454a49
Zero out reserved field in node
2015-08-19 08:02:38 -07:00
murgatroid99
465d03e171
Split server shutdown into tryShutdown and forceShutdown
2015-08-18 17:38:11 -07:00
murgatroid99
ff25af0163
Moved write flag constants to base module
2015-08-17 14:00:31 -07:00
murgatroid99
fb34cbe5dc
Resolved merge conflicts with master
2015-08-17 13:52:09 -07:00
murgatroid99
0f7084ff7a
Added an inline C++ function to replace a deprecated nan function
2015-08-17 11:36:03 -07:00
murgatroid99
dcd29a3c7a
Fixed typo in argument error message
2015-08-14 12:57:00 -07:00
murgatroid99
6a710c00b7
Resolved merge conflicts with master
2015-08-14 11:02:32 -07:00
murgatroid99
64035f9b3b
Add parent call propagation API to Node library
2015-08-14 10:35:43 -07:00
Jan Tattermusch
f5fa08c907
Merge pull request #2696 from murgatroid99/node_client_connectivity
...
Wrap connectivity API, expose it to client as waitForReady
2015-08-14 09:19:38 -07:00
murgatroid99
46a8476501
Modified watchState functions to match C API
2015-08-13 11:24:34 -07:00
murgatroid99
d71afbc48b
Fixed typo
2015-08-13 11:00:13 -07:00
murgatroid99
843510793d
Resolved merge conflicts with master
2015-08-13 10:58:53 -07:00
Nicolas "Pixel" Noble
5cb7853f37
Fixing merge failures.
2015-08-12 20:07:54 +02:00
Nicolas "Pixel" Noble
eecc28c9b3
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
src/node/ext/call.cc
src/node/ext/channel.cc
2015-08-12 19:53:03 +02:00
murgatroid99
04df830e53
Resolved merge conflicts with master
2015-08-11 17:28:42 -07:00
Nicolas "Pixel" Noble
5cbc7dd6c9
Reverted unintended change.
2015-08-12 01:10:54 +02:00
Nicolas "Pixel" Noble
54cd2a30f1
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
include/grpc/grpc.h
src/core/surface/channel.c
src/core/surface/channel_create.c
src/core/surface/completion_queue.c
src/cpp/client/channel.cc
src/cpp/client/insecure_credentials.cc
src/csharp/ext/grpc_csharp_ext.c
src/node/ext/call.cc
src/node/ext/channel.cc
src/php/ext/grpc/call.c
src/php/ext/grpc/channel.c
src/python/grpcio/grpc/_adapter/_c/types/channel.c
src/ruby/ext/grpc/rb_channel.c
test/core/end2end/dualstack_socket_test.c
test/core/end2end/fixtures/chttp2_fullstack.c
test/core/end2end/fixtures/chttp2_fullstack_compression.c
test/core/end2end/fixtures/chttp2_fullstack_uds_posix.c
test/core/end2end/fixtures/chttp2_fullstack_with_poll.c
test/core/end2end/multiple_server_queues_test.c
test/core/end2end/no_server_test.c
test/core/end2end/tests/bad_hostname.c
test/core/end2end/tests/cancel_after_accept.c
test/core/end2end/tests/cancel_after_accept_and_writes_closed.c
test/core/end2end/tests/cancel_after_invoke.c
test/core/end2end/tests/cancel_before_invoke.c
test/core/end2end/tests/cancel_in_a_vacuum.c
test/core/end2end/tests/census_simple_request.c
test/core/end2end/tests/disappearing_server.c
test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
test/core/end2end/tests/empty_batch.c
test/core/end2end/tests/graceful_server_shutdown.c
test/core/end2end/tests/invoke_large_request.c
test/core/end2end/tests/max_concurrent_streams.c
test/core/end2end/tests/max_message_length.c
test/core/end2end/tests/ping_pong_streaming.c
test/core/end2end/tests/registered_call.c
test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
test/core/end2end/tests/request_response_with_metadata_and_payload.c
test/core/end2end/tests/request_response_with_payload.c
test/core/end2end/tests/request_response_with_payload_and_call_creds.c
test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
test/core/end2end/tests/request_with_compressed_payload.c
test/core/end2end/tests/request_with_flags.c
test/core/end2end/tests/request_with_large_metadata.c
test/core/end2end/tests/request_with_payload.c
test/core/end2end/tests/server_finishes_request.c
test/core/end2end/tests/simple_delayed_request.c
test/core/end2end/tests/simple_request.c
test/core/end2end/tests/simple_request_with_high_initial_sequence_number.c
test/core/fling/client.c
test/core/fling/server.c
test/core/surface/lame_client_test.c
2015-08-08 01:45:38 +02:00
Nicolas "Pixel" Noble
2a4657d30a
Working on node.
2015-08-07 20:46:01 +02:00
Craig Tiller
91763733b5
Merge github.com:grpc/grpc into propagate
2015-08-05 10:44:45 -07:00
Craig Tiller
0ba7e5e418
Merge github.com:grpc/grpc into propagate
2015-08-05 08:10:22 -07:00
murgatroid99
ad3334967a
Exposed host parameter in Call constructor, don't save it in Channel object
2015-08-03 15:17:53 -07:00
Craig Tiller
1451651e8c
Rename grpc_server_add_http2_port to grpc_server_add_insecure_http2_port
2015-08-03 10:42:22 -07:00
Craig Tiller
70c8bfd09e
Implement cancellation propagation, define auth propagation
2015-08-03 08:06:50 -07:00
Craig Tiller
eb6b0ede34
Update wrappers, tests to new create_call()
2015-07-31 17:01:47 -07:00
murgatroid99
ae7c9cc2bb
Resolved merge conflicts
2015-07-30 16:24:06 -07:00
murgatroid99
1fa48701fc
Resolved merge conflicts
2015-07-30 10:41:59 -07:00
Abhishek Kumar
2ffb148f44
Merge pull request #2679 from murgatroid99/node_explicit_insecure_channel
...
Make insecure channel/stub construction explicit
2015-07-30 10:10:52 -07:00
murgatroid99
c6d3cb0dfe
Wrap connectivity API, expose it to client as waitForReady
2015-07-28 15:18:57 -07:00
Julien Boeuf
4044c512bd
Merge branch 'master' of github.com:grpc/grpc into ssl_force_client_auth
2015-07-27 16:16:29 -07:00
murgatroid99
d03da0cd75
Made binding a server to a port insecurely explicit
2015-07-27 16:13:28 -07:00
murgatroid99
954538063c
Made credentials an explicit required argument to channels
2015-07-27 14:56:40 -07:00