Commit Graph

319 Commits

Author SHA1 Message Date
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 7eca188ae1
Merge pull request #1348 from murgatroid99/grpc-js_proxy_error_reporting
grpc-js: Add more information to proxy errors
2020-04-10 11:48:42 -07:00
Michael Lumish f1c1dafae4 grpc-js: Don't include the port in :authority 2020-04-10 10:16:56 -07:00
Michael Lumish 19d960074b grpc-js: Add more information to proxy errors 2020-04-10 10:09:54 -07:00
Michael Lumish 9485062a31
Merge pull request #1343 from Patrick-Remy/patch/grpc-native-typescript-definition-complience
grpc-js: adjust ts definitions to equal native-core
2020-04-09 16:30:53 -07:00
Patrick Remy c62203900e
grpc-js: adjust ts definitions to equal native-core
Export MethodDefinition in index.ts and add generic ImplementationType
to ServiceDefinition
2020-04-09 10:12:47 +02:00
Michael Lumish 6e59160c2c grpc-js: Fix status check when connecting to proxy 2020-04-08 14:54:16 -07:00
Michael Lumish ae18f3ce92 grpc-js: Make some headers conform to what the other library does 2020-04-07 13:49:54 -07:00
Michael Lumish 6afd8ad443 Bump grpc-js to 0.7.6 2020-04-03 10:17:05 -07:00
Satoshi Nakagawa 4a05755236 grpc-js: fix "http:" scheme not supported in proxy URI 2020-04-03 10:46:10 +09:00
Michael Lumish dd54c210ce Bump grpc-js to 0.7.5 2020-04-01 10:24:20 -07:00
Michael Lumish ea069351c0
Merge pull request #1328 from murgatroid99/grpc-js_backoff_keep_connecting
grpc-js: Don't time out connection attempts
2020-04-01 10:06:19 -07:00
Michael Lumish 01d26b35bb
Merge pull request #1323 from orgads/pick-first-lb
PickFirstLoadBalancer: Correctly initialize state counters
2020-03-31 14:30:59 -07:00
Michael Lumish dd88ddc6b1 grpc-js: Don't time out connection attempts 2020-03-31 10:25:37 -07:00
Orgad Shaneh 25d2a07877 PickFirstLoadBalancer: Correctly initialize state counters 2020-03-30 20:33:37 +03:00
Orgad Shaneh 6fda1d46f2 RoundRobinLoadBalancer: Register the state listener 2020-03-30 13:01:23 +03:00
Michael Lumish 2f953e4457 grpc-js: Don't wait for TXT record to return DNS lookup result 2020-03-26 16:30:48 -07:00
Michael Lumish 80e9342ae4 Make channel options type check exactly match type declaration 2020-03-25 09:25:32 -07:00
Michael Lumish a3526e98c8 Delete client-specific options before passing them to the channel 2020-03-24 12:55:24 -07:00
Michael Lumish 22521ef8a7 Fix options type check 2020-03-24 11:12:40 -07:00
Michael Lumish 91dc475dd5 grpc-js: Update some types and type checks for compatibility with grpc-gcp 2020-03-23 14:09:20 -07:00
Michael Lumish 11e2e048b5
Merge pull request #1309 from murgatroid99/grpc-js_0.7.2
grpc-js: Bump to 0.7.2
2020-03-19 14:22:46 -07:00
Michael Lumish a89b8f9fcc
Merge pull request #1303 from murgatroid99/grpc-js_timer_unref_2
grpc-js: Unref deadline filter timer optionally
2020-03-19 14:17:12 -07:00
Michael Lumish 89b5353b97
Merge pull request #1302 from murgatroid99/grpc-js_callInvocationTransformer
grpc-js: Add callInvocationTransformer option
2020-03-19 14:15:32 -07:00
Michael Lumish d47db25268 grpc-js: Bump to 0.7.2 2020-03-19 13:00:02 -07:00
Michael Lumish a99afaf5eb grpc-js: Make filter stack handle status in all code paths 2020-03-19 09:42:17 -07:00
Michael Lumish 625610209b grpc-js: Unref deadline filter timer optionally 2020-03-16 14:31:51 -07:00
Michael Lumish a2a408b777 grpc-js: Add callInvocationTransformer option 2020-03-16 12:07:35 -07:00
Michael Lumish 2ca96a322f
Merge pull request #1288 from murgatroid99/grpc-js_0.7.1
Update grpc-js to 0.7.1
2020-03-12 09:21:48 -07:00
Michael Lumish 7ebf530b94
Merge pull request #1287 from murgatroid99/grpc-js_server_uds
grpc-js: Use resolver to bind server ports
2020-03-12 09:15:05 -07:00
murgatroid99 ca18cca813 grpc-js: tests: skip checking for IPv6 addresses from DNS servers 2020-03-10 10:47:17 -07:00
murgatroid99 d02da04c8c Update grpc-js to 0.7.1 2020-03-05 15:19:59 -08:00
Michael Lumish c3fc5794c7
Merge pull request #1284 from murgatroid99/grpc-js_server_stream_error
grpc-js: server calls: Don't try to send an error on stream error
2020-03-05 15:10:12 -08:00
murgatroid99 96d4d6acba Actually add listening http2 servers to server list 2020-03-05 13:01:43 -08:00
murgatroid99 3cbb46b1f7 Don't explicitly reject any promises 2020-03-05 12:32:08 -08:00
murgatroid99 c1d6bf91bc grpc-js: Use resolver to bind server ports 2020-03-05 09:23:09 -08:00
Michael Lumish 69482b2ae7
Merge pull request #1285 from murgatroid99/grpc-js_ipv6_handling
grpc-js: Always return IPv6 addresses from DNS resolver
2020-03-04 10:26:45 -08:00
Michael Lumish 37cc559669 grpc-js: Only automatically retry picks on known error 2020-03-03 10:56:42 -08:00
Michael Lumish f2b740f6ce grpc-js: Always return IPv6 addresses from DNS resolver 2020-03-03 10:17:10 -08:00
murgatroid99 4786f4a005 grpc_server_add_(in)secure_port returns 0 on error. Reflect that in bind(Async) 2020-03-02 17:27:46 -08:00
murgatroid99 8f668c8f2c grpc-js: server calls: Don't try to send an error on stream error 2020-03-02 14:26:29 -08:00
Michael Lumish fa4a02e0f6
Merge pull request #1281 from murgatroid99/grpc-js_0.7.x
Update grpc-js to 0.7.0
2020-03-02 09:42:34 -08:00
Michael Lumish 9aabc4071c
Merge pull request #1078 from LN-Zap/fix-1077
fix: only unref timers in supported environments
2020-02-28 13:24:36 -08:00
murgatroid99 fa3c95eaf2 Update grpc-js to 0.7.0 2020-02-28 11:20:57 -08:00
Michael Lumish f345f82851
Use optional chaining 2020-02-28 11:19:07 -08:00
Michael Lumish 8cf49ca1bd
Merge pull request #1243 from murgatroid99/grpc-js_proxy_support
grpc-js: Add HTTP CONNECT support, i.e. egress proxy support
2020-02-28 11:17:45 -08:00
Michael Lumish 846b05fc67
Merge pull request #1184 from murgatroid99/grpc-js_client_interceptors
grpc-js: Client interceptors
2020-02-28 11:17:34 -08:00
murgatroid99 8adad0c960 Don't stop handling reads when status is OK 2020-02-28 10:09:54 -08:00
murgatroid99 d8cf925b09 Handle OK status differently when processing stream endings 2020-02-27 09:50:35 -08:00