We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c757f commit 7a23ddeCopy full SHA for 7a23dde
packages/engine.io-client/lib/socket.ts
@@ -574,7 +574,6 @@ export class SocketWithoutUpgrade extends Emitter<
574
575
// Socket is live - any packet counts
576
this.emitReserved("heartbeat");
577
- this._resetPingTimeout();
578
579
switch (packet.type) {
580
case "open":
@@ -585,6 +584,7 @@ export class SocketWithoutUpgrade extends Emitter<
585
584
this._sendPacket("pong");
586
this.emitReserved("ping");
587
this.emitReserved("pong");
+ this._resetPingTimeout();
588
break;
589
590
case "error":
0 commit comments