2907 Commits

Author SHA1 Message Date
Michael Lumish
4946b418b4
Merge pull request #1381 from murgatroid99/grpc-js_proxy_fixes_final
grpc-js: Fix the final proxy bugs
@grpc/grpc-js@1.0.2
2020-04-22 15:19:56 -07:00
Michael Lumish
fe89492c48
Merge pull request #1382 from alexander-fenster/no-await-serialize
fix: make stream.write() synchronous in server-call
2020-04-22 15:19:41 -07:00
Alexander Fenster
ebfc5c9594 fix: make stream.write() synchronous in server-call 2020-04-22 13:58:26 -07:00
Michael Lumish
105e91e2eb Bump grpc-js to 1.0.2 2020-04-22 12:09:34 -07:00
Michael Lumish
070994a3a6 grpc-js: Fix the final proxy bugs 2020-04-22 12:06:13 -07:00
Michael Lumish
ec82d9c72b
Merge pull request #1375 from murgatroid99/grpc-js_proxy_structured_uri_fixes
grpc-js: Fix interactions between proxy code and new URI parsing
2020-04-21 16:32:37 -07:00
Michael Lumish
e0533363ec Fix "other" resolver test 2020-04-21 10:55:06 -07:00
Michael Lumish
b6846f0709 Update server to handle default schemes 2020-04-21 10:32:58 -07:00
Michael Lumish
0b522b2289 Bump grpc-js to 1.0.1 @grpc/grpc-js@1.0.1 2020-04-21 10:04:40 -07:00
Michael Lumish
23e2353ea0 Update tests and add new ones 2020-04-21 09:58:34 -07:00
Michael Lumish
ec4eb785fe Actually register 'dns' as the default scheme 2020-04-21 09:26:51 -07:00
Michael Lumish
726e7453f5 grpc-js: Fix proxy + URI parsing bugs 2020-04-21 09:18:35 -07:00
Michael Lumish
40fa1de31c
Merge pull request #1374 from murgatroid99/grpc-js_migration_from_grpc
grpc-js: Add "Migrating from grpc" README section
2020-04-20 15:53:35 -07:00
Michael Lumish
615058036b grpc-js: Add "Migrating from grpc" README section 2020-04-20 15:08:28 -07:00
Michael Lumish
5df87c9ac9
Merge pull request #1365 from murgatroid99/grpc-js_1.0
Bump grpc-js to 1.0 and stop calling it "beta"
@grpc/grpc-js@1.0.0
2020-04-20 13:33:33 -07:00
Michael Lumish
ae61562be2
Merge pull request #1364 from murgatroid99/grpc-js_uri_parsing
grpc-js: Use a more structured representation of URIs internally
2020-04-20 12:19:18 -07:00
Michael Lumish
238a91c985
Merge pull request #1373 from murgatroid99/grpc-js_callback_type_name_2
grpc-js: Make request callback type match the other library
2020-04-20 12:18:34 -07:00
Michael Lumish
8b16b3b699
Merge pull request #1368 from badsyntax/client-waitforready-fix
grpc-js: Client waitForReady callback fix.  Fixes #1352
2020-04-20 12:18:15 -07:00
Michael Lumish
b62e22677d
Merge pull request #1319 from xpirt/patch-1
grpc-js: export InterceptorOptions
2020-04-20 11:32:30 -07:00
Michael Lumish
98e46260ef Fix merge error with proxy fixes 2020-04-20 11:22:56 -07:00
Richard Willis
7e381f7f2a grpc-js: Simplify client.waitForReady tests. Refs #1352
No need to add a service to the server to test the client.
2020-04-20 19:14:20 +01:00
Michael Lumish
5aa7817c7e
Merge branch 'master' into grpc-js_uri_parsing 2020-04-20 11:08:23 -07:00
Michael Lumish
c5424a53a9
Merge pull request #1369 from mrfelton/proxy-tls
grpc-js: initiate tls connection through http proxy
2020-04-20 11:05:13 -07:00
Michael Lumish
6e3ab74e64 grpc-js: Make request callback type match the other library 2020-04-20 10:32:19 -07:00
Tom Kirkpatrick
eef75a5c1b
grpc-js: use tls.ConnectionOptions type for proxy connection options 2020-04-19 20:07:45 +02:00
Tom Kirkpatrick
48072d5f4f
grpc-js: setting ALPNProtocols option for tls proxy 2020-04-19 20:07:45 +02:00
Tom Kirkpatrick
b9e84f499f
grpc-js: commenting working for node issue 32922 2020-04-19 20:07:45 +02:00
Tom Kirkpatrick
11965fb0af
grpc-js: dont set createConnection when connecting with TLS and without a proxy 2020-04-18 23:16:07 +02:00
Tom Kirkpatrick
2c5a8b1a30
grpc-js: ensure tls connection is used when requested 2020-04-18 21:25:24 +02:00
Tom Kirkpatrick
4e61f21c2f
grpc-js: do not set host when instantiating tls socket 2020-04-18 17:58:40 +02:00
Tom Kirkpatrick
5af582e31c
grpc-js: pass secureContext through to proxied tls connection 2020-04-18 13:59:49 +02:00
Tom Kirkpatrick
c650e59563
grpc-js: always explicitly establish connection 2020-04-18 12:56:51 +02:00
Tom Kirkpatrick
af7f4f798d
grpc-js: initiate tls connection through http proxy 2020-04-18 11:04:13 +02:00
Richard Willis
615a3c65b1 grpc-js: Add test for client.waitForReady. Refs #1352 2020-04-18 09:45:22 +01:00
Richard Willis
4e7b94ab35 grpc-js: Remove watcher from queue before calling watcher callback. Fixes #1352
In the case where a new watcher is synchronously added to the watcher queue via the
watcher callback, this can result in the callback being called multiple times.

To support this case, the watcher needs to be move removed from the queue
before calling the watcher callback.
2020-04-18 09:41:46 +01:00
Michael Lumish
03fdeedc78
Merge pull request #1366 from murgatroid99/health_check_1.8.0
Bump grpc-health-check to 1.8.0
2020-04-17 10:33:05 -07:00
Michael Lumish
a440ebcb3f Bump grpc-health-check to 1.8.0 2020-04-16 15:11:10 -07:00
Michael Lumish
37d4acdc6b
Merge pull request #1351 from doochik/export-health-check-messages
Export health-check messages
2020-04-16 15:09:38 -07:00
Michael Lumish
2db1aff5ff Bump grpc-js to 1.0 and stop calling it "beta" 2020-04-16 14:32:25 -07:00
Michael Lumish
dbe98ad090 Fix "other" resovler registration code 2020-04-16 08:34:24 -07:00
Michael Lumish
1cd0ef12f2 Fix target name in "other" resolver test 2020-04-16 07:45:29 -07:00
Michael Lumish
13cc016e4e grpc-js: Use a more structured representation of URIs internally 2020-04-15 18:04:49 -07:00
Michael Lumish
4d1bdc4f20
Merge pull request #1356 from murgatroid99/grpc-js_proxy_support_take_2
grpc-js: Interact with proxies properly
@grpc/grpc-js@0.8.1
2020-04-14 14:51:07 -07:00
Michael Lumish
5566f1d5ce
Merge pull request #1358 from murgatroid99/grpc-js_js_pack_fix
grpc-js: Fix how package.json is loaded
2020-04-14 14:50:54 -07:00
Michael Lumish
b489935b7c grpc-js: Fix how package.json is loaded 2020-04-14 13:58:12 -07:00
Michael Lumish
e73c96298f Add error on DNS parsing failure, fix proxy DNS name 2020-04-14 11:32:07 -07:00
Michael Lumish
cba41bc487 grpc-js: Interact with proxies properly 2020-04-14 10:43:36 -07:00
Michael Lumish
227a35e899
Merge pull request #1346 from murgatroid99/grpc-js_max_message_size
grpc-js: Add max message size enforcement
@grpc/grpc-js@0.8.0
2020-04-13 15:45:00 -07:00
Michael Lumish
70b2a954e0
Merge branch 'master' into grpc-js_max_message_size 2020-04-13 14:13:03 -07:00
Michael Lumish
4ec023c271
Merge pull request #1345 from Patrick-Remy/patch/grpc-js-linting
grpc-js fix linting
2020-04-13 10:49:18 -07:00