We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0c58f7 + 848e00e commit a524d15Copy full SHA for a524d15
packages/grpc-js/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@grpc/grpc-js",
3
- "version": "1.12.2",
+ "version": "1.12.3",
4
"description": "gRPC Library for Node - pure JS implementation",
5
"homepage": "https://grpc.io/",
6
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
packages/grpc-js/src/transport.ts
@@ -227,6 +227,11 @@ class Http2Transport implements Transport {
227
this.handleDisconnect();
228
});
229
230
+ session.socket.once('close', () => {
231
+ this.trace('connection closed');
232
+ this.handleDisconnect();
233
+ });
234
+
235
if (logging.isTracerEnabled(TRACER_NAME)) {
236
session.on('remoteSettings', (settings: http2.Settings) => {
237
this.trace(
0 commit comments