4208 Commits

Author SHA1 Message Date
Michael Lumish
9cdd36f929
Merge branch 'master' into grpc-js_compression_support 2021-11-08 12:17:11 -08:00
Michael Lumish
68c5eedc98
Merge pull request #1963 from murgatroid99/grpc-js_channelz_remove_extra_register
grpc-js: Remove an extra call to registerChannelzSocket
2021-11-08 10:15:04 -08:00
Michael Lumish
af966f04b8 grpc-js: Remove an extra call to registerChannelzSocket 2021-11-08 09:44:11 -08:00
Michael Lumish
ff387c9cc7
Merge pull request #1962 from murgatroid99/upmerge_1.4.3
Merge 1.4.x into master
2021-11-08 09:32:45 -08:00
Robert
96ae102eaf fix path for loading test_service proto 2021-11-05 19:59:03 -07:00
Michael Lumish
cea1537c42 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.4.x' into upmerge_1.4.3 2021-11-05 14:25:42 -07:00
Michael Lumish
cb29b6af0f
Merge pull request #1961 from murgatroid99/grpc-js_channelz_disable_fix
grpc-js: Fix handling of grpc.enable_channelz option
@grpc/grpc-js@1.4.3
2021-11-05 13:53:53 -07:00
Michael Lumish
5715081295
Merge pull request #1960 from murgatroid99/grpc-js_channelz_ipv6_fix
grpc-js: channelz: Fix algorithm for representing an IPv6 address in binary
2021-11-05 12:21:33 -07:00
Michael Lumish
b1be84a021 Make IPv6 parsing code compatible with Node 10 2021-11-05 11:54:15 -07:00
Michael Lumish
bb26dcfd1e grpc-js: Fix handling of grpc.enable_channelz option 2021-11-05 10:12:12 -07:00
Michael Lumish
1a60c4f3a9 grpc-js: channelz: Fix algorithm for representing an IPv6 address in binary 2021-11-04 14:11:16 -07:00
Robert
c4d7fab13e simplify compression filter handling of server supported encoding headers 2021-11-02 19:17:44 -07:00
Michael Lumish
564edded08
Merge pull request #1957 from murgatroid99/grpc-js-xds_udpa_xds_followup
grpc-js-xds: Update files list to account for submodule change
2021-11-02 09:04:29 -07:00
Robert
deff9d4df9 Merge branch 'grpc-js_compression_support' of github.com:b0b3rt/grpc-node into grpc-js_compression_support 2021-11-01 20:15:18 -07:00
Robert
dc9752addc change CompressionAlgorithms to an enum 2021-11-01 19:04:21 -07:00
Robert M
5c61a6a34e
Update packages/grpc-js/src/server-call.ts
Co-authored-by: Michael Lumish <mlumish@google.com>
2021-11-01 18:38:37 -07:00
Michael Lumish
3c48058d9a grpc-js-xds: Update files list to account for submodule change 2021-11-01 16:09:49 -07:00
Michael Lumish
cd246cde94
Merge pull request #1956 from murgatroid99/grpc-js-xds_udpa_xds_switch
grpc-js-xds: Switch from udpa to xds submodule
2021-11-01 14:53:35 -07:00
Michael Lumish
692ee3c03f grpc-js-xds: Switch from udpa to xds submodule 2021-11-01 14:26:08 -07:00
Robert
9150bdfd24 default to identity header everywhere instead of leaving it undefined 2021-10-29 19:19:09 -07:00
Robert
47bb8b669e move string split down to where it matters 2021-10-28 20:36:29 -07:00
Robert
c9659b5158 persist server supported encoding header across compression filter instances 2021-10-28 20:29:47 -07:00
Robert
53a2347e69 only attempt to use custom compression filter when option value is provided 2021-10-26 14:27:07 -07:00
Michael Lumish
78466acf36
Merge pull request #1954 from murgatroid99/grpc-js_channelz_local_address_null_1.4.x
grpc-js: Handle undefined `socket.localAddress` (1.4.x)
@grpc/grpc-js@1.4.2
2021-10-26 14:26:58 -07:00
Robert
6ba008110b only attempt to use custom compression filter when option value is provided 2021-10-26 14:25:21 -07:00
Robert M
d01ff794fc
Update error message for invalid default_compression_algorithm
Co-authored-by: Michael Lumish <mlumish@google.com>
2021-10-26 14:21:58 -07:00
Robert
25a1806e11 change year in new copyright heade 2021-10-26 14:09:09 -07:00
Robert
7a31b4a65a change test to use write instead of _write 2021-10-26 14:03:14 -07:00
Robert
e03c1159ea log a warning when invalid value for grpc.default_compression_algorithm option is provided 2021-10-26 14:01:37 -07:00
Robert
21b09e25ba separate compression algorithms to avoid circular dependency 2021-10-26 13:51:42 -07:00
Robert
6d75ea1ab6 change encoding type from MetadataValue to string 2021-10-26 13:44:03 -07:00
Michael Lumish
91ae2b44b1 grpc-js: Handle undefined socket.localAddress 2021-10-26 13:19:18 -07:00
Michael Lumish
c61b9696a1
Merge pull request #1944 from murgatroid99/grpc-js_disable_channelz
grpc-js: Allow users to disable channelz
2021-10-26 13:16:51 -07:00
Michael Lumish
5a49a93065
Merge pull request #1951 from howyi/master
feat(client): export `ServiceClientConstructor` type
2021-10-26 12:56:41 -07:00
Robert
d68d94a5f4 re-enable NoCompress flag behavior and check Compressed Flag byte on server 2021-10-25 20:21:48 -07:00
Robert
af010071fe have client restore default sendCompression if server doesnt support compression, and fix test file generation 2021-10-25 19:43:40 -07:00
Robert
959503ec94 rewrite CompressionAlgorithms to use numeric keys and export it 2021-10-25 19:14:01 -07:00
Robert
9d70f39b7e remove copied test proto file and modify npm command 2021-10-25 19:00:59 -07:00
Robert
16f1356050 remove unused compression algorithm key value 2021-10-25 18:54:16 -07:00
Robert
b2ebbee7d1 revert mistaken accept-encoding client header change 2021-10-25 18:46:14 -07:00
Michael Lumish
7c9ded05e3
Merge pull request #1947 from murgatroid99/grpc-js-xds_nack_semantics
grpc-js-xds: Use valid resources when NACKing messages
2021-10-25 14:25:07 -07:00
Michael Lumish
c45b66cb29
Merge pull request #1953 from murgatroid99/grpc-js_channelz_local_address_null
grpc-js: Handle undefined `socket.localAddress`
2021-10-25 14:23:57 -07:00
Michael Lumish
8dbeeb1d18 grpc-js: Handle undefined socket.localAddress 2021-10-25 13:29:06 -07:00
Robert
cec7e64a2b cleanup test file 2021-10-24 22:21:24 -07:00
Robert
7aa5b62008 grpc-js: Allow per-channel request compression from the client and decompression from the server 2021-10-24 21:46:23 -07:00
howyi
25e21d1fba feat(client): export ServiceClientConstructor,ProtobufTypeDefinition type 2021-10-24 21:14:16 +09:00
Michael Lumish
4a5c1da93b
Merge pull request #1945 from murgatroid99/grpc-js-xds_resource_log_improvements
grpc-js-xds: Improve received resource list logging
2021-10-20 09:03:08 -07:00
Michael Lumish
356f93728d
Merge pull request #1943 from murgatroid99/grpc-js_channelz_trace_limit
grpc-js: Limit the number of retained channelz trace events
2021-10-20 09:02:40 -07:00
Michael Lumish
e97069be2a
Merge pull request #1946 from murgatroid99/grpc-js_resource_exhausted_message
grpc-js: Include other causes in ENHANCE_YOUR_CALM translation
2021-10-20 09:02:28 -07:00
Michael Lumish
2a45b343d5 grpc-js-xds: Use valid resources when NACKing messages 2021-10-19 14:20:37 -07:00