2331 Commits

Author SHA1 Message Date
Michael Lumish
65a921f5f4
Merge pull request #493 from murgatroid99/pure_js_checkServerIdentity
Add checkServerIdentity callback to pure js library
2018-08-14 13:51:59 -07:00
Kelvin Jin
7720d068ca Add return type definition to watchConnectivityState 2018-08-14 10:29:53 -07:00
murgatroid99
b4fda0a153 Fix channel credentials tests 2018-08-13 17:16:36 -07:00
murgatroid99
ecb84dafb2 Fix switched condition in channel code 2018-08-13 17:01:28 -07:00
murgatroid99
94f059ae21 Add checkServerIdentity callback to pure js library 2018-08-13 15:57:21 -07:00
Michael Lumish
92f4367d62
Merge pull request #492 from nicolasnoble/channel-unwrap-check
Fix potential segmentation fault.
2018-08-13 13:07:01 -07:00
Michael Lumish
6d520c522c
Propagate channel closed errors up through waitForReady
The errors thrown by `Channel#getConnectivityState` and `Channel#watchConnectivityState` need to be passed to the callback for `Client#waitForReady`.
2018-08-13 11:41:36 -07:00
Michael Lumish
17e6c5d1c9
Merge pull request #442 from tomasAlabes/patch-1
Updated doc in readme.md
2018-08-13 11:33:10 -07:00
Nicolas "Pixel" Noble
db291906fa Fix potential segmentation fault.
Described in #490.
2018-08-11 15:27:56 +02:00
Michael Lumish
7db315d094
Merge pull request #488 from murgatroid99/v1.14.0_update
Update to v1.14.0
grpc@1.14.0
2018-08-10 09:43:12 -07:00
Michael Lumish
499ddebd1e
Merge pull request #487 from murgatroid99/idempotent_gulp_setup
Make gulp setup idempotent
2018-08-09 16:40:26 -07:00
Michael Lumish
8288719065
Merge pull request #482 from murgatroid99/package_comparison_documentation
Package comparison documentation
2018-08-09 16:16:23 -07:00
murgatroid99
936c38d7e2 Update to v1.14.0 2018-08-09 15:47:37 -07:00
Michael Lumish
c5e7036da9
Merge pull request #486 from murgatroid99/ts_defs_minor_fix
Fix typo in typescript definitions file
2018-08-09 15:44:59 -07:00
murgatroid99
de9832889e Make gulp setup idempotent 2018-08-09 13:17:20 -07:00
murgatroid99
40e5bb4a73 Fix typo in typescript definitions file 2018-08-09 11:42:43 -07:00
Michael Lumish
07d8bed4ed
Merge pull request #483 from murgatroid99/v1.14.0-pre4_update
Bump to v1.14.0-pre4
2018-08-08 13:54:32 -07:00
murgatroid99
94d1b1264c Bump to v1.14.0-pre4 2018-08-08 11:39:51 -07:00
murgatroid99
ea8f4266bf Resolve some comments 2018-08-08 10:14:16 -07:00
murgatroid99
ea0ceae15e Add table of important non-feature properties 2018-08-07 15:20:20 -07:00
murgatroid99
4e2decd6ac Add package feature comparison document 2018-08-07 15:11:39 -07:00
Michael Lumish
61f969a1ba
Merge pull request #481 from murgatroid99/perf_test_fixes
Fix benchmark proto loading
2018-08-07 14:26:27 -07:00
Michael Lumish
4f2766d15b
Merge pull request #480 from murgatroid99/v1.14.0-pre3_update
Update to v1.14.0-pre3
2018-08-07 13:46:32 -07:00
murgatroid99
65d2f86aa9 Fix benchmark proto loading 2018-08-07 13:27:15 -07:00
murgatroid99
e24ea39cf3 Update to v1.14.0-pre3 2018-08-07 11:02:35 -07:00
Michael Lumish
e6f07b43fc
Merge pull request #476 from murgatroid99/verify_callback_backport
Backport "Add checkServerIdentity callback"
2018-08-07 10:45:18 -07:00
Michael Lumish
5b57e43de5 Update package.json template to match package.json 2018-08-06 15:40:22 -07:00
Ian Haken
5f77bcda1f Add some missing descriptions to typescript. 2018-08-06 15:40:22 -07:00
Ian Haken
51c97b559d Update typescript to properly reflect the format of the certificate received by the checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken
0201c218a6 Refactor checkServerIdentity callback to pass in cert as an object with raw DER buffer. 2018-08-06 15:40:22 -07:00
Ian Haken
1fd96966d7 Correct checkServerIdentity behavior to return a verification failure if an error is returned. Clean up documentation and add a test assertion on returned Error. 2018-08-06 15:40:22 -07:00
Ian Haken
a48629fa83 Update credentials.js documentation for verify options and add verify options to typescript definition. 2018-08-06 15:40:22 -07:00
Ian Haken
03c5d98b1e Simplify getting checkServerIdentity out of the fourth createSsl argument. Add some tests asserting type-checking behavior. 2018-08-06 15:40:22 -07:00
Ian Haken
c70df88fc0 Simplify userdata being passed to checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken
b6ad568c09 Add type assertion on createSsl's fourth argument. 2018-08-06 15:40:22 -07:00
Ian Haken
f368e50102 Regenerate project files and add test covering checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken
ac7c1bc2e5 Add checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Michael Lumish
58ca800014
Merge pull request #403 from JackOfMostTrades/verify-callback
Add checkServerIdentity callback
2018-08-06 15:37:40 -07:00
Michael Lumish
264d8043fe
Update package.json template to match package.json 2018-08-06 14:29:43 -07:00
Michael Lumish
157b763113
Merge pull request #473 from murgatroid99/stream_write_type_fix
Fix stream.write type incompatibility
2018-08-06 12:22:07 -07:00
murgatroid99
446d560fde Fix stream.write type incompatibility 2018-08-06 10:58:07 -07:00
Michael Lumish
1af773ca54
Merge pull request #468 from murgatroid99/pure_js_naive_keepalive
Pure js: add simple keepalive logic
2018-08-03 15:37:42 -07:00
murgatroid99
2c0359f230 Fix spelling error, make narrower cast in dereference 2018-08-03 14:28:40 -07:00
murgatroid99
500642b5ac Create separate subchannel class, fix default keepalive time value 2018-08-03 13:43:23 -07:00
murgatroid99
8bbd4752d9 Make default keepalive time fit in a 32-bit integer 2018-08-01 11:20:42 -07:00
Michael Lumish
8f1a4ed1af
Merge pull request #469 from murgatroid99/v1.14.0-pre2_bump
Bump grpc to 1.14.0-pre2
2018-08-01 10:27:35 -07:00
murgatroid99
3d3b381637 Bump grpc to 1.14.0-pre2 2018-07-31 14:48:28 -07:00
murgatroid99
a750587bb0 Pure js: add simple keepalive logic 2018-07-31 11:30:15 -07:00
Michael Lumish
80fd84b822
Merge pull request #466 from murgatroid99/node-pre-gyp_invocation_fix
Don't refer to node-pre-gyp with a relative path
2018-07-30 11:37:12 -07:00
Michael Lumish
f941e0bc14
Merge pull request #462 from murgatroid99/interop_special_status_message
Add special_status_message interop test
2018-07-30 11:37:03 -07:00